copyWith method

QuickbooksTxnTaxDetails copyWith({
  1. QuickbooksReferenceType? txnTaxCodeRef,
  2. double? totalTax,
  3. List<QuickbooksLine>? taxLine,
})

Implementation

QuickbooksTxnTaxDetails copyWith({
  QuickbooksReferenceType? txnTaxCodeRef,
  double? totalTax,
  List<QuickbooksLine>? taxLine,
}) {
  return QuickbooksTxnTaxDetails(
    txnTaxCodeRef: txnTaxCodeRef ?? this.txnTaxCodeRef,
    totalTax: totalTax ?? this.totalTax,
    taxLine: taxLine ?? this.taxLine,
  );
}