copyWithWrapped method

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

Implementation

TransferUserAddressInResponse copyWithWrapped(
    {Wrapped<String?>? street,
    Wrapped<String?>? city,
    Wrapped<String?>? region,
    Wrapped<String?>? postalCode,
    Wrapped<String?>? country}) {
  return TransferUserAddressInResponse(
      street: (street != null ? street.value : this.street),
      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));
}