copyWith method

OnRampPaymentLimits copyWith({
  1. String? paymentMethod,
  2. String? baseCurrencyMinAmount,
  3. String? baseCurrencyMaxAmount,
  4. String? cryptocurrencyMinAmount,
  5. String? cryptocurrencyMaxAmount,
})

Implementation

OnRampPaymentLimits copyWith({
  String? paymentMethod,
  String? baseCurrencyMinAmount,
  String? baseCurrencyMaxAmount,
  String? cryptocurrencyMinAmount,
  String? cryptocurrencyMaxAmount,
}) =>
    OnRampPaymentLimits(
      paymentMethod: paymentMethod ?? this.paymentMethod,
      baseCurrencyMinAmount:
          baseCurrencyMinAmount ?? this.baseCurrencyMinAmount,
      baseCurrencyMaxAmount:
          baseCurrencyMaxAmount ?? this.baseCurrencyMaxAmount,
      cryptocurrencyMinAmount:
          cryptocurrencyMinAmount ?? this.cryptocurrencyMinAmount,
      cryptocurrencyMaxAmount:
          cryptocurrencyMaxAmount ?? this.cryptocurrencyMaxAmount,
    );