copyWith method
QuickbooksDiscountLine
copyWith(
- String? id,
- int? lineNum,
- String? description,
- double? amount,
- QuickbooksDiscountLineDetails? discountLineDetail,
Implementation
QuickbooksDiscountLine copyWith(String? id, int? lineNum, String? description,
double? amount, QuickbooksDiscountLineDetails? discountLineDetail) {
return QuickbooksDiscountLine(
id: id ?? this.id,
lineNum: lineNum ?? this.lineNum,
description: description ?? this.description,
amount: amount ?? this.amount,
type: type,
discountLineDetail: discountLineDetail ?? this.discountLineDetail,
);
}