copyWith method
Implementation
SalesOrderLineData copyWith({
int? id,
int? salesOrderId,
int? productId,
double? units,
double? amount,
double? taxAmount,
}) => SalesOrderLineData(
id: id ?? this.id,
salesOrderId: salesOrderId ?? this.salesOrderId,
productId: productId ?? this.productId,
units: units ?? this.units,
amount: amount ?? this.amount,
taxAmount: taxAmount ?? this.taxAmount,
);