ECommerceOrder constructor

const ECommerceOrder({
  1. required String identifier,
  2. required List<ECommerceCartItem> items,
  3. Map<String, String>? payload,
})

Creates an object with order information. The parameters identifier, items are required.

Implementation

const ECommerceOrder(
    {required this.identifier, required this.items, this.payload});