OrderItem class Null safety
Constructors
- OrderItem({int? qty, int? id, int? productId, String? productCode, String? imageUrl, String? imageThumbUrl, String? title, String? seoTitle, bool? isOutOfStock, double? price, double? finalPrice, bool? hasDiscount, double? discountValue, int? discountType, String? promoText, String? bogoPromoText, String? croppedImageUrl, bool? enableCropping, String? size, int? sizeId, String? colorHexaCode, String? color, int? colorId})
-
OrderItem.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bogoPromoText ↔ String?
-
read / write
- color ↔ String?
-
read / write
- colorHexaCode ↔ String?
-
read / write
- colorId ↔ int?
-
read / write
- croppedImageUrl ↔ String?
-
read / write
- discountType ↔ int?
-
read / write
- discountValue ↔ double?
-
read / write
- enableCropping ↔ bool?
-
read / write
- finalPrice ↔ double?
-
read / write
- hasDiscount ↔ bool?
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- id ↔ int?
-
read / write
- imageThumbUrl ↔ String?
-
read / write
- imageUrl ↔ String?
-
read / write
- isOutOfStock ↔ bool?
-
read / write
- price ↔ double?
-
read / write
- productCode ↔ String?
-
read / write
- productId ↔ int?
-
read / write
- promoText ↔ String?
-
read / write
- qty ↔ int?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- seoTitle ↔ String?
-
read / write
- size ↔ String?
-
read / write
- sizeId ↔ int?
-
read / write
- title ↔ String?
-
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