LabeledPricePart constructor

const LabeledPricePart({
  1. required String label,
  2. required int amount,
})

Portion of the price of a product (e.g., "delivery cost", "tax amount")

Implementation

const LabeledPricePart({
  required this.label,
  required this.amount,
});