CartModel constructor

CartModel({
  1. int? productId,
  2. double? price,
  3. double? priceNoVat,
  4. String? title,
  5. String? image,
  6. int? quantity,
  7. List<Variant>? variants,
  8. int? totalItem,
  9. bool? exemptVat,
  10. double? totalPrice,
  11. bool? deliveryRequired,
  12. double? weight,
  13. String? weightUnit,
})

Implementation

CartModel(
    {this.productId,
    this.price,
    this.priceNoVat,
    this.title,
    this.image,
    this.quantity,
    this.variants,
    this.totalItem,
    this.exemptVat,
    this.totalPrice,
    this.deliveryRequired,
    this.weight,
    this.weightUnit});