copyWith method

Cart copyWith({
  1. String? schemeDiscount,
  2. String? schemeDiscountPrice,
  3. String? quantity,
  4. String? quantityFree,
  5. String? discountAsPerFixed,
  6. String? discountAsPerFixedPrice,
  7. String? productDiscount,
  8. String? productDiscountPrice,
  9. String? productDiscountSpecial,
  10. String? productDiscountSpecialPrice,
  11. String? appBannersId,
  12. String? appBannersParentId,
  13. String? productDiscountSpecialCompany,
  14. String? productDiscountSpecialCompanyPrice,
  15. String? outOfStock1AsOut,
  16. String? discount,
  17. String? discountPrice,
  18. String? cartId,
  19. String? totalTaxableItemVise,
  20. String? totalItemVise,
  21. String? sgst,
  22. String? cgst,
  23. String? igst,
  24. String? sgstPrice,
  25. String? cgstPrice,
  26. String? igstPrice,
  27. String? totalGst,
})

Implementation

Cart copyWith({  String? schemeDiscount,
  String? schemeDiscountPrice,
  String? quantity,
  String? quantityFree,
  String? discountAsPerFixed,
  String? discountAsPerFixedPrice,
  String? productDiscount,
  String? productDiscountPrice,
  String? productDiscountSpecial,
  String? productDiscountSpecialPrice,
  String? appBannersId,
  String? appBannersParentId,
  String? productDiscountSpecialCompany,
  String? productDiscountSpecialCompanyPrice,
  String? outOfStock1AsOut,
  String? discount,
  String? discountPrice,
  String? cartId,
  String? totalTaxableItemVise,
  String? totalItemVise,
  String? sgst,
  String? cgst,
  String? igst,
  String? sgstPrice,
  String? cgstPrice,
  String? igstPrice,
  String? totalGst,
}) => Cart(  schemeDiscount: schemeDiscount ?? _schemeDiscount,
  schemeDiscountPrice: schemeDiscountPrice ?? _schemeDiscountPrice,
  quantity: quantity ?? _quantity,
  quantityFree: quantityFree ?? _quantityFree,
  discountAsPerFixed: discountAsPerFixed ?? _discountAsPerFixed,
  discountAsPerFixedPrice: discountAsPerFixedPrice ?? _discountAsPerFixedPrice,
  productDiscount: productDiscount ?? _productDiscount,
  productDiscountPrice: productDiscountPrice ?? _productDiscountPrice,
  productDiscountSpecial: productDiscountSpecial ?? _productDiscountSpecial,
  productDiscountSpecialPrice: productDiscountSpecialPrice ?? _productDiscountSpecialPrice,
  appBannersId: appBannersId ?? _appBannersId,
  appBannersParentId: appBannersParentId ?? _appBannersParentId,
  productDiscountSpecialCompany: productDiscountSpecialCompany ?? _productDiscountSpecialCompany,
  productDiscountSpecialCompanyPrice: productDiscountSpecialCompanyPrice ?? _productDiscountSpecialCompanyPrice,
  outOfStock1AsOut: outOfStock1AsOut ?? _outOfStock1AsOut,
  discount: discount ?? _discount,
  discountPrice: discountPrice ?? _discountPrice,
  cartId: cartId ?? _cartId,
  totalTaxableItemVise: totalTaxableItemVise ?? _totalTaxableItemVise,
  totalItemVise: totalItemVise ?? _totalItemVise,
  sgst: sgst ?? _sgst,
  cgst: cgst ?? _cgst,
  igst: igst ?? _igst,
  sgstPrice: sgstPrice ?? _sgstPrice,
  cgstPrice: cgstPrice ?? _cgstPrice,
  igstPrice: igstPrice ?? _igstPrice,
  totalGst: totalGst ?? _totalGst,
);