copyWithWrapped method

DeviceAddressV2 copyWithWrapped({
  1. Wrapped<double?>? lat,
  2. Wrapped<double?>? long,
  3. Wrapped<String?>? streetAddress,
  4. Wrapped<String?>? city,
  5. Wrapped<String?>? state,
  6. Wrapped<String?>? postalCode,
})

Implementation

DeviceAddressV2 copyWithWrapped(
    {Wrapped<double?>? lat,
    Wrapped<double?>? long,
    Wrapped<String?>? streetAddress,
    Wrapped<String?>? city,
    Wrapped<String?>? state,
    Wrapped<String?>? postalCode}) {
  return DeviceAddressV2(
      lat: (lat != null ? lat.value : this.lat),
      long: (long != null ? long.value : this.long),
      streetAddress:
          (streetAddress != null ? streetAddress.value : this.streetAddress),
      city: (city != null ? city.value : this.city),
      state: (state != null ? state.value : this.state),
      postalCode: (postalCode != null ? postalCode.value : this.postalCode));
}