copyWithWrapped method

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

Implementation

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