Product constructor
Product({
- String? id,
- required String shopId,
- required String productType,
- required String name,
- required String imgUrl,
- required double price,
- required int? quantity,
- String? description,
- required bool available,
- int? rating,
- List<
SpecialOption> ? specialOptions, - List<
Review> ? reviewList, - bool? deliveryProvince,
- String? deliveryType,
Implementation
Product({
this.id,
required this.shopId,
required this.productType,
required this.name,
required this.imgUrl,
required this.price,
required this.quantity,
this.description,
required this.available,
this.rating,
this.specialOptions,
this.reviewList,
this.deliveryProvince,
this.deliveryType
});