copyWith method

CreditNoteSummary copyWith({
  1. String? gst,
  2. String? taxable,
  3. String? sgst,
  4. String? sgstShow,
  5. String? cgst,
  6. String? igst,
  7. String? igstShow,
  8. String? sgstPrice,
  9. String? cgstPrice,
  10. String? igstPrice,
})

Implementation

CreditNoteSummary copyWith({  String? gst,
  String? taxable,
  String? sgst,
  String? sgstShow,
  String? cgst,
  String? igst,
  String? igstShow,
  String? sgstPrice,
  String? cgstPrice,
  String? igstPrice,
}) => CreditNoteSummary(  gst: gst ?? _gst,
  taxable: taxable ?? _taxable,
  sgst: sgst ?? _sgst,
  sgstShow: sgstShow ?? _sgstShow,
  cgst: cgst ?? _cgst,
  igst: igst ?? _igst,
  igstShow: igstShow ?? _igstShow,
  sgstPrice: sgstPrice ?? _sgstPrice,
  cgstPrice: cgstPrice ?? _cgstPrice,
  igstPrice: igstPrice ?? _igstPrice,
);