Order class
Constructors
-
Order({int? id, String? vendorOrderId, dynamic reason, int? displayId, int? stage, String? paymentType, List<
Destination> ? origin, List<Destination> ? destination, dynamic returnAddress, Pricing? pricing, Distances? distances, Delivery? delivery, Vendor? vendor, dynamic courier, dynamic trace, DateTime? createdAt}) -
Order.fromMap(Map<
String, dynamic> json) -
factory
Properties
- courier ↔ dynamic
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- delivery ↔ Delivery?
-
getter/setter pair
-
destination
↔ List<
Destination> ? -
getter/setter pair
- displayId ↔ int?
-
getter/setter pair
- distances ↔ Distances?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
-
origin
↔ List<
Destination> ? -
getter/setter pair
- paymentType ↔ String?
-
getter/setter pair
- pricing ↔ Pricing?
-
getter/setter pair
- reason ↔ dynamic
-
getter/setter pair
- returnAddress ↔ dynamic
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stage ↔ int?
-
getter/setter pair
- trace ↔ dynamic
-
getter/setter pair
- vendor ↔ Vendor?
-
getter/setter pair
- vendorOrderId ↔ String?
-
getter/setter pair
Methods
-
copyWith(
{int? id, String? vendorOrderId, dynamic reason, int? displayId, int? stage, String? paymentType, List< Destination> ? origin, List<Destination> ? destination, dynamic returnAddress, Pricing? pricing, Distances? distances, Delivery? delivery, Vendor? vendor, dynamic courier, dynamic trace, DateTime? createdAt}) → Order -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited