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