ProductEntity constructor
ProductEntity({ - required String art,
- required num discount,
- required List<String> images,
- required bool isFavorite,
- required num minOrder,
- required String name,
- required PriceRuleEntity defaultPriceRule,
- required List<PriceRuleEntity> priceRules,
- required Map<ProductInfoType, String> infoMap,
- required num quantity,
- required num quantityInCart,
- required num quantityPerPackage,
- required num step,
- required UomType uom,
- bool isRemoved = false,
- String? barcode,
- int? categoryId,
- String? imageLink,
- int? vendorId,
- String? vendorLogo,
- String? vendorName,
- String? vendorUrl,
})
Implementation
ProductEntity({
required this.art,
required this.discount,
required this.images,
required this.isFavorite,
required this.minOrder,
required this.name,
required this.defaultPriceRule,
required this.priceRules,
required this.infoMap,
required this.quantity,
required this.quantityInCart,
required this.quantityPerPackage,
required this.step,
required this.uom,
this.isRemoved = false,
this.barcode,
this.categoryId,
this.imageLink,
this.vendorId,
this.vendorLogo,
this.vendorName,
this.vendorUrl,
});