CheckOutResult constructor

CheckOutResult({
  1. required List<PriceItem> priceItems,
  2. required int totalCostCents,
  3. required int taxCents,
  4. required int subtotalCents,
})

Implementation

CheckOutResult(
    {required List<PriceItem> priceItems,
    required this.totalCostCents,
    required this.taxCents,
    required this.subtotalCents})
    : priceItems = List.unmodifiable(priceItems);