copyWith method

PaymentAmountNullable copyWith({
  1. PaymentAmountCurrency? currency,
  2. double? value,
})

Implementation

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