copyWith method
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,
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,
);