CartBodyDataModel class

Inheritance

Constructors

CartBodyDataModel({String? itemId, String? productId, String? storeId, int? quantity, String? note, DateTime? startDate, DateTime? endDate, List<CartSideBodyDataModel>? sides, String? deliveryDate})

Properties

deliveryDate String?
final
endDate DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
itemId String?
final
note String?
final
productId String?
final
quantity int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sides List<CartSideBodyDataModel>?
final
startDate DateTime?
final
storeId String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormData() Future<FormData?>?
Converts the body data model to a FormData object.
override
toPostJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a POST request.
override
toPutJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a PUT request.
override
toString() String
A string representation of this object.
inherited

Operators

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