copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
OnRampPaymentLimits copyWith({
String? paymentMethod,
String? baseCurrencyMinAmount,
String? baseCurrencyMaxAmount,
String? cryptocurrencyMinAmount,
String? cryptocurrencyMaxAmount,
dynamic extra,
int? clientId,
}) => OnRampPaymentLimits(
paymentMethod: paymentMethod ?? this.paymentMethod,
baseCurrencyMinAmount: baseCurrencyMinAmount ?? this.baseCurrencyMinAmount,
baseCurrencyMaxAmount: baseCurrencyMaxAmount ?? this.baseCurrencyMaxAmount,
cryptocurrencyMinAmount:
cryptocurrencyMinAmount ?? this.cryptocurrencyMinAmount,
cryptocurrencyMaxAmount:
cryptocurrencyMaxAmount ?? this.cryptocurrencyMaxAmount,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);