Item constructor
const
Item({
- required int amountDiscount,
- required int amountSubtotal,
- required int amountTax,
- required int amountTotal,
- required String currency,
- required String description,
- List<
LineItemsDiscountAmount> ? discounts, - required String id,
- InvoiceitemPrice? price,
- int? quantity,
- List<
LineItemsTaxAmount> ? taxes,
LineItem
A line item.
Implementation
const Item({
required this.amountDiscount,
required this.amountSubtotal,
required this.amountTax,
required this.amountTotal,
required this.currency,
required this.description,
this.discounts,
required this.id,
this.price,
this.quantity,
this.taxes,
});