Product constructor

Product({
  1. required String skuId,
  2. String? skuName,
  3. String? cartId,
  4. required double price,
  5. required double promotionPrice,
  6. required int quantity,
})

Implementation

Product({
  required this.skuId,
  this.skuName,
  this.cartId,
  required this.price,
  required this.promotionPrice,
  required this.quantity,
});