ProductDetailsModel class Null safety

Constructors

ProductDetailsModel({String? details, String? shortDescription, int? colorId, int? sizeId, List<Brand>? categories, Brand? brand, bool? isAddedtoWishlist, List<String>? imageList, int? maxQty, bool? reviewVisibility, bool? showOneClickOrder, int? minDeliveryPeriod, int? maxDeliveryPeriod, String? periodName, String? deliveryNote, int? remaining, String? productCode, String? skuCode, int? colorOptions, List<Feature>? features, double? rating, List<Size>? sizes, List<ColorModel>? colors, bool? preOrder, DateTime? availabilityDate, int? id, int? productId, 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, String? colorHexaCode, String? color})
ProductDetailsModel.fromJson(Map<String, dynamic> json)
factory

Properties

availabilityDate DateTime?
read / write
bogoPromoText String?
read / write
brand Brand?
read / write
categories List<Brand>?
read / write
color String?
read / write
colorHexaCode String?
read / write
colorId int?
read / write
colorOptions int?
read / write
colors List<ColorModel>?
read / write
croppedImageUrl String?
read / write
deliveryNote String?
read / write
details String?
read / write
discountType int?
read / write
discountValue double?
read / write
enableCropping bool?
read / write
features List<Feature>?
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
imageList List<String>?
read / write
imageThumbUrl String?
read / write
imageUrl String?
read / write
isAddedtoWishlist bool?
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 String?
read / write
productId int?
read / write
promoText String?
read / write
rating double?
read / write
remaining int?
read / write
reviewVisibility bool?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seoTitle String?
read / write
shortDescription String?
read / write
showOneClickOrder bool?
read / write
size String?
read / write
sizeId int?
read / write
sizes List<Size>?
read / write
skuCode String?
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