copyWith method
Implementation
SalesOrderCompanion copyWith({
Value<int>? id,
Value<DateTime>? orderDateTime,
Value<double>? amount,
Value<double>? taxAmount,
Value<String>? status,
Value<int>? sellerId,
Value<int>? customerId,
}) {
return SalesOrderCompanion(
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,
);
}