OrderMenuModel class

Implementers

Constructors

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

Properties

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

Methods

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