copyWith method

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

Implementation

PaymentInitiationAddress copyWith(
    {List<String>? street,
    String? city,
    String? postalCode,
    String? country}) {
  return PaymentInitiationAddress(
      street: street ?? this.street,
      city: city ?? this.city,
      postalCode: postalCode ?? this.postalCode,
      country: country ?? this.country);
}