copyWith method

ItemsData copyWith({
  1. String? itemId,
  2. String? productId,
  3. String? brand,
  4. String? company,
  5. String? manufacture,
  6. String? manufactureSort,
  7. String? price,
  8. String? mrp,
  9. List<PriceToShow>? priceToShow,
  10. String? batchNo,
  11. String? quantity,
  12. String? subTotal,
  13. String? discount,
  14. String? discountDisplay,
  15. String? discountPrice,
  16. String? totalTaxable,
  17. String? total,
  18. String? gst,
  19. String? sgst,
  20. String? cgst,
  21. String? igst,
  22. String? sgstPrice,
  23. String? cgstPrice,
  24. String? igstPrice,
  25. String? schemeMinPurchase,
  26. String? schemeProvide,
  27. String? unitsPerPackage,
  28. String? perUnitQuantity,
  29. String? packagingDisplay,
  30. String? isFree,
  31. String? extraClaimProduct,
  32. String? expSortDate,
  33. String? schemeDiscountPrice,
  34. String? schemeDiscount,
  35. String? discountAsPerFixedPrice,
  36. String? discountAsPerFixed,
  37. String? productDiscountPrice,
  38. String? productDiscount,
  39. String? productDiscountSpecialPrice,
  40. String? productDiscountSpecial,
  41. String? productDiscountSpecialCompanyPrice,
  42. String? productDiscountSpecialCompany,
})

Implementation

ItemsData copyWith({  String? itemId,
  String? productId,
  String? brand,
  String? company,
  String? manufacture,
  String? manufactureSort,
  String? price,
  String? mrp,
  List<PriceToShow>? priceToShow,
  String? batchNo,
  String? quantity,
  String? subTotal,
  String? discount,
  String? discountDisplay,
  String? discountPrice,
  String? totalTaxable,
  String? total,
  String? gst,
  String? sgst,
  String? cgst,
  String? igst,
  String? sgstPrice,
  String? cgstPrice,
  String? igstPrice,
  String? schemeMinPurchase,
  String? schemeProvide,
  String? unitsPerPackage,
  String? perUnitQuantity,
  String? packagingDisplay,
  String? isFree,
  String? extraClaimProduct,
  String? expSortDate,
  String? schemeDiscountPrice,
  String? schemeDiscount,
  String? discountAsPerFixedPrice,
  String? discountAsPerFixed,
  String? productDiscountPrice,
  String? productDiscount,
  String? productDiscountSpecialPrice,
  String? productDiscountSpecial,
  String? productDiscountSpecialCompanyPrice,
  String? productDiscountSpecialCompany,
}) => ItemsData(  itemId: itemId ?? this.itemId,
  productId: productId ?? this.productId,
  brand: brand ?? this.brand,
  company: company ?? this.company,
  manufacture: manufacture ?? this.manufacture,
  manufactureSort: manufactureSort ?? this.manufactureSort,
  price: price ?? this.price,
  mrp: mrp ?? this.mrp,
  priceToShow: priceToShow ?? this.priceToShow,
  batchNo: batchNo ?? this.batchNo,
  quantity: quantity ?? this.quantity,
  subTotal: subTotal ?? this.subTotal,
  discount: discount ?? this.discount,
  discountDisplay: discountDisplay ?? this.discountDisplay,
  discountPrice: discountPrice ?? this.discountPrice,
  totalTaxable: totalTaxable ?? this.totalTaxable,
  total: total ?? this.total,
  gst: gst ?? this.gst,
  sgst: sgst ?? this.sgst,
  cgst: cgst ?? this.cgst,
  igst: igst ?? this.igst,
  sgstPrice: sgstPrice ?? this.sgstPrice,
  cgstPrice: cgstPrice ?? this.cgstPrice,
  igstPrice: igstPrice ?? this.igstPrice,
  schemeMinPurchase: schemeMinPurchase ?? this.schemeMinPurchase,
  schemeProvide: schemeProvide ?? this.schemeProvide,
  unitsPerPackage: unitsPerPackage ?? this.unitsPerPackage,
  perUnitQuantity: perUnitQuantity ?? this.perUnitQuantity,
  packagingDisplay: packagingDisplay ?? this.packagingDisplay,
  isFree: isFree ?? this.isFree,
    extraClaimProduct : extraClaimProduct ?? this.extraClaimProduct,
  expSortDate: expSortDate ?? this.expSortDate,
    schemeDiscountPrice : schemeDiscountPrice ?? this.schemeDiscountPrice,
   schemeDiscount : schemeDiscount ?? this.schemeDiscount,
   discountAsPerFixedPrice : discountAsPerFixedPrice ?? this.discountAsPerFixedPrice,
   discountAsPerFixed : discountAsPerFixed ?? this.discountAsPerFixed,
   productDiscountPrice : productDiscountPrice ?? this.productDiscountPrice,
   productDiscount : productDiscount ?? this.productDiscount,
   productDiscountSpecialPrice : productDiscountSpecialPrice ?? this.productDiscountSpecialPrice,
   productDiscountSpecial : productDiscountSpecial ?? this.productDiscountSpecial,
   productDiscountSpecialCompanyPrice : productDiscountSpecialCompanyPrice ?? this.productDiscountSpecialCompanyPrice,
   productDiscountSpecialCompany : productDiscountSpecialCompany ?? this.productDiscountSpecialCompany

);