Product(- {int? id,
- String? productCode,
- String? promoText,
- String? bogoPromoText,
- double? price,
- double? finalPrice,
- double? discountValue,
- double? discountType,
- bool? isAddedtoWishlist,
- bool? isOutOfStock,
- bool? preOrder,
- String? availabilityDate,
- String? croppedImageUrl,
- bool? enableCropping,
- int? colorOptions,
- int? colorId,
- int? sizeId,
- String? size,
- String? color,
- List<Size>? sizes,
- List<ColorModel>? colors}
)
Implementation
Product({
this.id,
this.productCode,
this.promoText,
this.bogoPromoText,
this.price,
this.finalPrice,
this.discountValue,
this.discountType,
this.isAddedtoWishlist,
this.isOutOfStock,
this.preOrder,
this.availabilityDate,
this.croppedImageUrl,
this.enableCropping,
this.colorOptions,
this.colorId,
this.sizeId,
this.size,
this.color,
this.sizes,
this.colors,
});