copyWithWrapped method

WebApiModulesIntegrationsStorefrontLocationModel copyWithWrapped({
  1. Wrapped<String?>? locationId,
  2. Wrapped<String?>? location,
  3. Wrapped<String?>? warehouseId,
  4. Wrapped<String?>? warehouse,
})

Implementation

WebApiModulesIntegrationsStorefrontLocationModel copyWithWrapped({
  Wrapped<String?>? locationId,
  Wrapped<String?>? location,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouse,
}) {
  return WebApiModulesIntegrationsStorefrontLocationModel(
    locationId: (locationId != null ? locationId.value : this.locationId),
    location: (location != null ? location.value : this.location),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
  );
}