OrderProductModel class

Inheritance

Constructors

OrderProductModel({String? id, String? description, required double price, required String orderStatus, String? riderStatus, required List<String> productIdList, required List<Product> productList, required String customerId, String? riderId, required String shopId, required String shopName, bool? paid, required bool complete})
OrderProductModel.fromJson(Map<String, dynamic> json)
factory

Properties

complete bool
finalinherited
customerId String
finalinherited
description String?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
finalinherited
orderStatus String?
finalinherited
finalinherited
price double
finalinherited
productIdList List<String>
finalinherited
productList List<Product>?
finalinherited
riderId String?
finalinherited
riderStatus String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shopId String
finalinherited
shopName String?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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