CheckoutLineItem constructor

const CheckoutLineItem({
  1. required String id,
  2. required String name,
  3. required CheckoutMoney total,
  4. int? quantity,
})

Creates one line in a client-safe Order snapshot.

Implementation

const CheckoutLineItem({
  required this.id,
  required this.name,
  required this.total,
  this.quantity,
});