copyWith method
QuickbooksItemBasedExpenseLine
copyWith({
- String? id,
- int? lineNum,
- String? description,
- double? amount,
- QuickbooksItemBasedExpenseLineDetails? itemBasedExpenseLineDetail,
- List<
QuickbooksLinkedTxn> ? linkedTxn,
Implementation
QuickbooksItemBasedExpenseLine copyWith({
String? id,
int? lineNum,
String? description,
double? amount,
QuickbooksItemBasedExpenseLineDetails? itemBasedExpenseLineDetail,
List<QuickbooksLinkedTxn>? linkedTxn,
}) {
return QuickbooksItemBasedExpenseLine(
id: id ?? this.id,
lineNum: lineNum ?? this.lineNum,
description: description ?? this.description,
amount: amount ?? this.amount,
type: type,
itemBasedExpenseLineDetail:
itemBasedExpenseLineDetail ?? this.itemBasedExpenseLineDetail,
linkedTxn: linkedTxn ?? this.linkedTxn,
);
}