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