copyWithWrapped method

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

Implementation

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