copyWith method

CreditNoteCartReposne copyWith({
  1. List<CreditNoteData>? data,
  2. String? summaryAdd,
  3. RemoveColumn? removeColumn,
  4. String? intraState1InterState2,
  5. String? totalItem,
  6. String? subTotal,
  7. List<DiscountArray>? discountArray,
  8. String? schemeDiscountPrice,
  9. String? cashDiscount,
  10. String? cashDiscountPrice,
  11. String? productDiscountPrice,
  12. String? productDiscountSpecialPrice,
  13. String? productDiscountSpecialCompanyPrice,
  14. String? extraDiscountAsPerFixed,
  15. String? extraDiscountAsPerFixedPrice,
  16. String? discountPrice,
  17. String? sgst,
  18. String? cgst,
  19. String? igst,
  20. String? tcsPer,
  21. String? tcs,
  22. String? freight,
  23. String? roundingOff,
  24. String? grandTotal,
  25. num? totalRecords,
  26. List<CreditNoteSummary>? summary,
  27. num? success,
  28. String? message,
})

Implementation

CreditNoteCartReposne copyWith({  List<CreditNoteData>? data,
  String? summaryAdd,
  RemoveColumn? removeColumn,
  String? intraState1InterState2,
  String? totalItem,
  String? subTotal,
  List<DiscountArray>? discountArray,
  String? schemeDiscountPrice,
  String? cashDiscount,
  String? cashDiscountPrice,
  String? productDiscountPrice,
  String? productDiscountSpecialPrice,
  String? productDiscountSpecialCompanyPrice,
  String? extraDiscountAsPerFixed,
  String? extraDiscountAsPerFixedPrice,
  String? discountPrice,
  String? sgst,
  String? cgst,
  String? igst,
  String? tcsPer,
  String? tcs,
  String? freight,
  String? roundingOff,
  String? grandTotal,
  num? totalRecords,
  List<CreditNoteSummary>? summary,
  num? success,
  String? message,
}) => CreditNoteCartReposne(  data: data ?? _data,
  summaryAdd: summaryAdd ?? _summaryAdd,
  removeColumn: removeColumn ?? _removeColumn,
  intraState1InterState2: intraState1InterState2 ?? _intraState1InterState2,
  totalItem: totalItem ?? _totalItem,
  subTotal: subTotal ?? _subTotal,
  discountArray: discountArray ?? _discountArray,
  schemeDiscountPrice: schemeDiscountPrice ?? _schemeDiscountPrice,
  cashDiscount: cashDiscount ?? _cashDiscount,
  cashDiscountPrice: cashDiscountPrice ?? _cashDiscountPrice,
  productDiscountPrice: productDiscountPrice ?? _productDiscountPrice,
  productDiscountSpecialPrice: productDiscountSpecialPrice ?? _productDiscountSpecialPrice,
  productDiscountSpecialCompanyPrice: productDiscountSpecialCompanyPrice ?? _productDiscountSpecialCompanyPrice,
  extraDiscountAsPerFixed: extraDiscountAsPerFixed ?? _extraDiscountAsPerFixed,
  extraDiscountAsPerFixedPrice: extraDiscountAsPerFixedPrice ?? _extraDiscountAsPerFixedPrice,
  discountPrice: discountPrice ?? _discountPrice,
  sgst: sgst ?? _sgst,
  cgst: cgst ?? _cgst,
  igst: igst ?? _igst,
  tcsPer: tcsPer ?? _tcsPer,
  tcs: tcs ?? _tcs,
  freight: freight ?? _freight,
  roundingOff: roundingOff ?? _roundingOff,
  grandTotal: grandTotal ?? _grandTotal,
  totalRecords: totalRecords ?? _totalRecords,
  summary: summary ?? _summary,
  success: success ?? _success,
  message: message ?? _message,
);