ECommerceAmount constructor

const ECommerceAmount({
  1. required Decimal amount,
  2. required String currency,
})

Creates an object with cost information. All parameters are required.

Implementation

const ECommerceAmount({required this.amount, required this.currency});