copyWithWrapped method
Implementation
Location copyWithWrapped(
{Wrapped<String?>? address,
Wrapped<String?>? city,
Wrapped<String?>? region,
Wrapped<String?>? postalCode,
Wrapped<String?>? country,
Wrapped<double?>? lat,
Wrapped<double?>? lon,
Wrapped<String?>? storeNumber}) {
return Location(
address: (address != null ? address.value : this.address),
city: (city != null ? city.value : this.city),
region: (region != null ? region.value : this.region),
postalCode: (postalCode != null ? postalCode.value : this.postalCode),
country: (country != null ? country.value : this.country),
lat: (lat != null ? lat.value : this.lat),
lon: (lon != null ? lon.value : this.lon),
storeNumber:
(storeNumber != null ? storeNumber.value : this.storeNumber));
}