copyWith method
Implementation
WebApiModulesAgentOrderChangeOrderOfficeLocationRequest copyWith({
String? officeLocationId,
String? warehouseId,
String? currencyId,
String? confirmUpdateAllRatesToNewCurrency,
}) {
return WebApiModulesAgentOrderChangeOrderOfficeLocationRequest(
officeLocationId: officeLocationId ?? this.officeLocationId,
warehouseId: warehouseId ?? this.warehouseId,
currencyId: currencyId ?? this.currencyId,
confirmUpdateAllRatesToNewCurrency:
confirmUpdateAllRatesToNewCurrency ??
this.confirmUpdateAllRatesToNewCurrency,
);
}