copyWithWrapped method

SignalAddressData copyWithWrapped({
  1. Wrapped<String?>? city,
  2. Wrapped<String?>? region,
  3. Wrapped<String?>? street,
  4. Wrapped<String?>? postalCode,
  5. Wrapped<String?>? country,
})

Implementation

SignalAddressData copyWithWrapped(
    {Wrapped<String?>? city,
    Wrapped<String?>? region,
    Wrapped<String?>? street,
    Wrapped<String?>? postalCode,
    Wrapped<String?>? country}) {
  return SignalAddressData(
      city: (city != null ? city.value : this.city),
      region: (region != null ? region.value : this.region),
      street: (street != null ? street.value : this.street),
      postalCode: (postalCode != null ? postalCode.value : this.postalCode),
      country: (country != null ? country.value : this.country));
}