Product constructor
Product({ - required String productId,
- String? name,
- String? subtitle,
- String? description,
- String? currency,
- String? mainProductImage,
- bool? isAvailable,
- bool? isDisabled,
- bool? hidePrice,
- bool? hidden,
- String? customCTATitleTranslation,
- bool? hidePrimaryCTA,
- String? customCTATarget,
- String? customCTAUrl,
- String? customCTATitle,
- List<ProductUnit>? units,
})
Implementation
Product({
required this.productId,
this.name,
this.subtitle,
this.description,
this.currency,
this.mainProductImage,
this.isAvailable,
this.isDisabled,
this.hidePrice,
this.hidden,
this.customCTATitleTranslation,
this.hidePrimaryCTA,
this.customCTATarget,
this.customCTAUrl,
this.customCTATitle,
this.units,
});