copyWithWrapped method

DeviceV2Body copyWithWrapped({
  1. Wrapped<String?>? displayName,
  2. Wrapped<String?>? address1,
  3. Wrapped<String?>? city,
  4. Wrapped<String?>? state,
  5. Wrapped<String?>? postalCode,
  6. Wrapped<String?>? lat,
  7. Wrapped<String?>? long,
})

Implementation

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