Order constructor

Order(
  1. String id,
  2. List<LineItem> lineItems,
  3. double totalValue,
  4. String currency, [
  5. Map<String, dynamic> attributes = const {},
])

Implementation

Order(this.id, this.lineItems, this.totalValue, this.currency,
    [this.attributes = const {}]);