CheckoutLineItem constructor
- required String id,
- required String name,
- required CheckoutMoney total,
- 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,
});