ReceiptModel class

Inheritance

Constructors

ReceiptModel({required String restaurantName, String? address, String? mobile, String? orderType, String? deliveryTime, required String printTime, String? customerName, String? deliveryAddress, String? note, String? paymentMethod, List<PrintItemText>? items, List<PrintReciptFooter>? footer, required double totalAmount})

Properties

address String?
getter/setter pair
customerName String?
getter/setter pair
deliveryAddress String?
getter/setter pair
deliveryTime String?
getter/setter pair
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
items List<PrintItemText>
getter/setter pair
mobile String?
getter/setter pair
note String?
getter/setter pair
orderType String?
getter/setter pair
paymentMethod String?
getter/setter pair
printTime String
getter/setter pair
restaurantName String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalAmount double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

demo() ReceiptModel