copyWith method
QuickbooksSubtotalLine
copyWith(
- String? id,
- int? lineNum,
- String? description,
- double? amount,
- QuickbooksSubtotalLineDetails? subtotalLineDetail,
Implementation
QuickbooksSubtotalLine copyWith(String? id, int? lineNum, String? description,
double? amount, QuickbooksSubtotalLineDetails? subtotalLineDetail) {
return QuickbooksSubtotalLine(
id: id ?? this.id,
lineNum: lineNum ?? this.lineNum,
description: description ?? this.description,
amount: amount ?? this.amount,
type: type,
subtotalLineDetail: subtotalLineDetail ?? this.subtotalLineDetail,
);
}