CoinGeckoResult<T> class

CoinGecko result data wrapper

Constructors

CoinGeckoResult(T data, {bool isError = false, String? errorMessage, int? errorCode})

Properties

data → T
Result data
final
errorCode int?
Error code
final
errorMessage String?
Error message
final
hashCode int
The hash code for this object.
no setterinherited
isError bool
Indicates whether there was an error executing the request
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited