copyWithWrapped method

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

Implementation

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