OnRampProvider class
Describes an on-ramp provider
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
Properties
-
cryptocurrencies
→ List<
String> -
cryptocurrencies List of cryptocurrencies supported by the provider
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
id Unique identifier of the provider
final
- name → String
-
name Name of the provider
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsBaseCurrencies → bool
-
supportsBaseCurrencies True, if the provider supports base currencies
and can be used in the method getOnRampProviderBaseCurrencies
final
- supportsLimits → bool
-
supportsLimits True, if the provider supports limits retrieval using the
method getOnRampPaymentLimits
final
- supportsQuote → bool
-
supportsQuote True, if the provider supports quote retrieval using the
method getOnRampPaymentQuote
final
Methods
-
copyWith(
{String? id, String? name, List< String> ? cryptocurrencies, bool? supportsBaseCurrencies, bool? supportsLimits, bool? supportsQuote}) → OnRampProvider -
Available on OnRampProvider, provided by the OnRampProviderExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → OnRampProvider?
Constants
- constructor → const String