copyWith method
Implementation
SalesOrderData copyWith({
int? id,
DateTime? orderDateTime,
double? amount,
double? taxAmount,
String? status,
int? sellerId,
int? customerId,
}) => SalesOrderData(
id: id ?? this.id,
orderDateTime: orderDateTime ?? this.orderDateTime,
amount: amount ?? this.amount,
taxAmount: taxAmount ?? this.taxAmount,
status: status ?? this.status,
sellerId: sellerId ?? this.sellerId,
customerId: customerId ?? this.customerId,
);