CartItemModel class Null safety

Constructors

CartItemModel({int? maxQty, int? imageId, bool? freeBogo, dynamic discountBogoid, bool? addedForDiscountBogo, int? stock, int? qty, int? minDeliveryPeriod, int? maxDeliveryPeriod, String? periodName, String? deliveryNote, bool? preOrder, String? availabilityDate, int? id, int? productId, dynamic 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})
CartItemModel.fromJson(Map<String, dynamic> json)
factory

Properties

addedForDiscountBogo bool?
read / write
availabilityDate String?
read / write
bogoPromoText String?
read / write
color String?
read / write
colorHexaCode String?
read / write
colorId int?
read / write
croppedImageUrl String?
read / write
deliveryNote String?
read / write
discountBogoid ↔ dynamic
read / write
discountType int?
read / write
discountValue double?
read / write
enableCropping bool?
read / write
finalPrice double?
read / write
freeBogo bool?
read / write
hasDiscount bool?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
read / write
imageId int?
read / write
imageThumbUrl String?
read / write
imageUrl String?
read / write
isOutOfStock bool?
read / write
maxDeliveryPeriod int?
read / write
maxQty int?
read / write
minDeliveryPeriod int?
read / write
periodName String?
read / write
preOrder bool?
read / write
price double?
read / write
productCode ↔ dynamic
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
stock 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