Product constructor
Product({
- String? productId = '',
- String? name = '',
- String? brand = '',
- String? categoryName = '',
- List<
String> ? productCategories = const [], - double price = 0.0,
- double salePrice = 0.0,
- String? currency = '',
- String? productLink = '',
- String? productImage = '',
- Map<
String, dynamic> ? extras = const <String, dynamic>{},
Implementation
Product({
this.productId = '',
this.name = '',
this.brand = '',
this.categoryName = '',
this.productCategories = const [],
this.price = 0.0,
this.salePrice = 0.0,
this.currency = '',
this.productLink = '',
this.productImage = '',
this.extras = const <String, dynamic>{},
});