InvoiceLineItem constructor

const InvoiceLineItem({
  1. required String sku,
  2. required String description,
  3. required double unitCost,
  4. required double quantity,
  5. required double netTotal,
  6. double discountAmount = 0,
  7. double taxTotal = 0,
  8. required double total,
})

Implementation

const InvoiceLineItem({
  required this.sku,
  required this.description,
  required this.unitCost,
  required this.quantity,
  required this.netTotal,
  this.discountAmount = 0,
  this.taxTotal = 0,
  required this.total,
});