OrderDetailsModel class Null safety

Constructors

OrderDetailsModel({AddressModel? address, Store? store, List<OrderItem>? orderItems, String? currency, String? paymentType, bool? canCancel, String? date, int? id, String? orderNo, int? productsCount, double? total, String? orderStatus})
OrderDetailsModel.fromJson(Map<String, dynamic> json)
factory

Properties

address AddressModel?
read / write
canCancel bool?
read / write
currency String?
read / write
date String?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
read / write
orderItems List<OrderItem>?
read / write
orderNo String?
read / write
orderStatus String?
read / write
paymentType String?
read / write
productsCount int?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
store Store?
read / write
total double?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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