toMap method
Encodes this price using standard message-codec values.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
'originalAmount': originalAmount,
'discountAmount': discountAmount,
'finalAmount': finalAmount,
'currency': currency,
};