copyWithWrapped method

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

Implementation

DepositSwitchAddressData copyWithWrapped(
    {Wrapped<String>? city,
    Wrapped<String>? region,
    Wrapped<String>? street,
    Wrapped<String>? postalCode,
    Wrapped<String>? country}) {
  return DepositSwitchAddressData(
      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));
}