copyWith method
QuickbooksDescriptionOnlyLine
copyWith(
- String? id,
- int? lineNum,
- String? description,
- double? amount,
- QuickbooksDescriptionLineDetails? salesItemLineDetails,
Implementation
QuickbooksDescriptionOnlyLine copyWith(
String? id,
int? lineNum,
String? description,
double? amount,
QuickbooksDescriptionLineDetails? salesItemLineDetails) {
return QuickbooksDescriptionOnlyLine(
id: id ?? this.id,
lineNum: lineNum ?? this.lineNum,
description: description ?? this.description,
amount: amount ?? this.amount,
type: type,
descriptionLineDetail: salesItemLineDetails ?? descriptionLineDetail,
);
}