TakeoutOrderMenuModel class

Inheritance

Constructors

TakeoutOrderMenuModel({required String id, required String orderId, required String ordererId, required Iterable<OrderMenuItemModel> items, required bool isPaid, required OrderMenuCancellation? cancellation, required String serial, required String? reservationTime, required OrderedStoreModel store, required int totalPrice, required OrderState state, required DateTime createdAt, required DateTime updatedAt})
const
TakeoutOrderMenuModel.fromJson(dynamic json)
factory

Properties

cancellation OrderMenuCancellation?
finalinherited
createdAt DateTime
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
isPaid bool
finalinherited
items Iterable<OrderMenuItemModel>
finalinherited
ordererId String
finalinherited
orderId String
finalinherited
reservationTime String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serial String
final
state OrderState
finalinherited
store OrderedStoreModel
finalinherited
totalPrice int
finalinherited
updatedAt DateTime
finalinherited

Methods

copy({String? id, String? orderId, String? ordererId, bool? isPaid, OrderedStoreModel? store, Iterable<OrderMenuItemModel>? items, Option<OrderMenuCancellation>? cancellation, Option<OrderMenuPicking>? picking, Option<OrderMenuDelivery>? delivery, String? serial, Option<String>? reservationTime, int? totalPrice, OrderState? state, DateTime? createdAt, DateTime? updatedAt}) TakeoutOrderMenuModel
override
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