copyWith method
CreateOnRampPaymentSession
copyWith(
{ - String? providerId,
- String? cryptocurrency,
- String? address,
- String? paymentMethodName,
- String? baseCurrency,
- String? cryptocurrencyAmount,
- String? baseCurrencyAmount,
- String? memo,
- String? theme,
- String? successReturnUrl,
- String? failReturnUrl,
})
Implementation
CreateOnRampPaymentSession copyWith({
String? providerId,
String? cryptocurrency,
String? address,
String? paymentMethodName,
String? baseCurrency,
String? cryptocurrencyAmount,
String? baseCurrencyAmount,
String? memo,
String? theme,
String? successReturnUrl,
String? failReturnUrl,
}) =>
CreateOnRampPaymentSession(
providerId: providerId ?? this.providerId,
cryptocurrency: cryptocurrency ?? this.cryptocurrency,
address: address ?? this.address,
paymentMethodName: paymentMethodName ?? this.paymentMethodName,
baseCurrency: baseCurrency ?? this.baseCurrency,
cryptocurrencyAmount: cryptocurrencyAmount ?? this.cryptocurrencyAmount,
baseCurrencyAmount: baseCurrencyAmount ?? this.baseCurrencyAmount,
memo: memo ?? this.memo,
theme: theme ?? this.theme,
successReturnUrl: successReturnUrl ?? this.successReturnUrl,
failReturnUrl: failReturnUrl ?? this.failReturnUrl,
);