InvoiceItem constructor
InvoiceItem({})
Constructs an InvoiceItem with the provided details.
description is a textual description of the item.
quantity is the quantity of the item purchased.
unitPrice is the price per unit of the item.
taxableAmount is the taxable portion of the item, exclusive of VAT.
vatRate is the VAT rate expressed as a percentage (e.g., 5% VAT is 5.0).
vatAmount is the calculated VAT amount for the item.
Implementation
InvoiceItem({
required this.description,
required this.quantity,
required this.unitPrice,
required this.taxableAmount,
required this.vatRate,
required this.vatAmount,
});