PriceItem constructor

PriceItem({
  1. required String name,
  2. String? description,
  3. required int quantity,
  4. required int totalPriceCents,
})

Class object containing required information to display in the checkout

This class holds the name, description, quantity and cost of items to be displayed on the drop down menu within the checkout page.

Implementation

PriceItem(
    {required this.name,
    this.description,
    required this.quantity,
    required this.totalPriceCents});