copyWith method
Implementation
PaymentConsentPeriodicAmountAmount copyWith(
{enums.PaymentAmountCurrency? currency, double? value}) {
return PaymentConsentPeriodicAmountAmount(
currency: currency ?? this.currency, value: value ?? this.value);
}