DeliveryOrderModel class

Inheritance

Constructors

DeliveryOrderModel({required String id, required String name, required String ordererId, required CouponModel? coupon, required int totalPrice, required int discount, required int deliveryTip, required int actualPaymentPrice, required ApartmentModel apartment, required String userPhoneNumber, required String detailedAddress, required Iterable<OrderMenuModel> menus, required DateTime createdAt, required DateTime updatedAt})
const
DeliveryOrderModel.fromJson(dynamic json)
factory

Properties

actualPaymentPrice int
finalinherited
apartment ApartmentModel
finalinherited
coupon CouponModel?
finalinherited
createdAt DateTime
finalinherited
deliveryTip int
final
detailedAddress String
final
discount int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
finalinherited
name String
finalinherited
ordererId String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state OrderState
no setterinherited
totalPrice int
finalinherited
updatedAt DateTime
finalinherited
userPhoneNumber String
finalinherited

Methods

copy({String? id, String? name, String? ordererId, Option<CouponModel>? coupon, int? totalPrice, int? discount, int? deliveryTip, int? actualPaymentPrice, ApartmentModel? apartment, String? userPhoneNumber, String? detailedAddress, Iterable<OrderMenuModel>? menus, DateTime? updatedAt, DateTime? createdAt}) DeliveryOrderModel
override
isEveryMenuState(OrderState state) bool
inherited
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