Order constructor
Order({})
Creates a new Order object with the given items
, subtotal
, tax
, and total
.
Implementation
Order({
required this.date,
required this.invoiceNumber,
required this.paymentMethod,
required this.items,
required this.subtotal,
required this.tax,
required this.total,
});