toModel method

Price toModel()

Constructs a new Price from this PriceMixin.

Implementation

Price toModel() => Price(sum: sum, currency: currency);