copyWithWrapped method
PaymentConsentPeriodicAmountAmount
copyWithWrapped({
- Wrapped<
PaymentAmountCurrency> ? currency, - Wrapped<
double> ? value,
Implementation
PaymentConsentPeriodicAmountAmount copyWithWrapped(
{Wrapped<enums.PaymentAmountCurrency>? currency,
Wrapped<double>? value}) {
return PaymentConsentPeriodicAmountAmount(
currency: (currency != null ? currency.value : this.currency),
value: (value != null ? value.value : this.value));
}