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