copyWith method
- int? vendorId,
- String? priceRuleId,
- String? comment,
- DeliveryAddressEntity? deliveryAddress,
Implementation
VendorOrderModel copyWith({
int? vendorId,
String? priceRuleId,
String? comment,
DeliveryAddressEntity? deliveryAddress,
}) =>
VendorOrderModel(
vendorId: vendorId ?? this.vendorId,
priceRuleId: priceRuleId ?? this.priceRuleId,
comment: comment ?? this.comment,
deliveryAddress: deliveryAddress ?? this.deliveryAddress,
);