DeliveryOrderMenuModel class
- Inheritance
-
- Object
- OrderMenuModel
- DeliveryOrderMenuModel
Constructors
-
DeliveryOrderMenuModel({required String id, required String orderId, required String ordererId, required Iterable<
OrderMenuItemModel> items, required bool isPaid, required OrderMenuCancellation? cancellation, required OrderMenuPicking? picking, required OrderMenuDelivery? delivery, required OrderedStoreModel store, required int totalPrice, required OrderState state, required DateTime createdAt, required DateTime updatedAt}) -
const
- DeliveryOrderMenuModel.fromJson(dynamic json)
-
factory
Properties
- cancellation → OrderMenuCancellation?
-
finalinherited
- createdAt → DateTime
-
finalinherited
- delivery → OrderMenuDelivery?
-
final
- 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
- picking → OrderMenuPicking?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → OrderState
-
finalinherited
- store → OrderedStoreModel
-
finalinherited
- totalPrice → int
-
finalinherited
- updatedAt → DateTime
-
finalinherited
Methods
-
copy(
{String? id, String? orderId, String? ordererId, OrderedStoreModel? store, Iterable< OrderMenuItemModel> ? items, bool? isPaid, Option<OrderMenuCancellation> ? cancellation, Option<OrderMenuPicking> ? picking, Option<OrderMenuDelivery> ? delivery, int? totalPrice, OrderState? state, DateTime? createdAt, DateTime? updatedAt}) → DeliveryOrderMenuModel -
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