copyWith method
Implementation
OnRampPaymentQuote copyWith({
String? paymentMethod,
int? expirationDate,
String? baseCurrencyAmount,
String? cryptocurrencyAmount,
String? cryptocurrencyPrice,
String? feeAmount,
String? extraFeeAmount,
String? networkFeeAmount,
String? totalAmount,
}) =>
OnRampPaymentQuote(
paymentMethod: paymentMethod ?? this.paymentMethod,
expirationDate: expirationDate ?? this.expirationDate,
baseCurrencyAmount: baseCurrencyAmount ?? this.baseCurrencyAmount,
cryptocurrencyAmount: cryptocurrencyAmount ?? this.cryptocurrencyAmount,
cryptocurrencyPrice: cryptocurrencyPrice ?? this.cryptocurrencyPrice,
feeAmount: feeAmount ?? this.feeAmount,
extraFeeAmount: extraFeeAmount ?? this.extraFeeAmount,
networkFeeAmount: networkFeeAmount ?? this.networkFeeAmount,
totalAmount: totalAmount ?? this.totalAmount,
);