copyWith method
QuickbooksGroupLine
copyWith(
- String? id,
- int? lineNum,
- String? description,
- double? amount,
- QuickbooksGroupLineDetails? groupLineDetail,
Implementation
QuickbooksGroupLine copyWith(String? id, int? lineNum, String? description,
double? amount, QuickbooksGroupLineDetails? groupLineDetail) {
return QuickbooksGroupLine(
id: id ?? this.id,
lineNum: lineNum ?? this.lineNum,
description: description ?? this.description,
amount: amount ?? this.amount,
type: type,
groupLineDetail: groupLineDetail ?? this.groupLineDetail,
);
}