copyWith method
QuickbooksTaxLine
copyWith(
- String? id,
- int? lineNum,
- String? description,
- double? amount,
- QuickbooksTaxLineDetails? taxLineDetail,
Implementation
QuickbooksTaxLine copyWith(String? id, int? lineNum, String? description,
double? amount, QuickbooksTaxLineDetails? taxLineDetail) {
return QuickbooksTaxLine(
id: id ?? this.id,
lineNum: lineNum ?? this.lineNum,
description: description ?? this.description,
amount: amount ?? this.amount,
type: type,
taxLineDetail: taxLineDetail ?? this.taxLineDetail,
);
}