ReceiptModel constructor
ReceiptModel({})
Implementation
ReceiptModel({
required this.restaurantName,
this.address,
this.mobile,
this.orderType,
this.deliveryTime,
required this.printTime,
this.customerName,
this.deliveryAddress,
this.note,
this.paymentMethod,
List<PrintItemText>? items,
List<PrintReciptFooter>? footer,
required this.totalAmount,
}) : items = items ?? [],
footer = footer ?? [];