copyWith method

WebApiModulesIntegrationsStorefrontLocationModel copyWith({
  1. String? locationId,
  2. String? location,
  3. String? warehouseId,
  4. String? warehouse,
})

Implementation

WebApiModulesIntegrationsStorefrontLocationModel copyWith({
  String? locationId,
  String? location,
  String? warehouseId,
  String? warehouse,
}) {
  return WebApiModulesIntegrationsStorefrontLocationModel(
    locationId: locationId ?? this.locationId,
    location: location ?? this.location,
    warehouseId: warehouseId ?? this.warehouseId,
    warehouse: warehouse ?? this.warehouse,
  );
}