CoinGeckoResult<T> constructor
Constructor for CoinGeckoResult
data - The result data from the API
isError - Indicates if there was an error (default is false)
errorMessage - The error message if an error occurred
errorCode - The error code if an error occurred
Implementation
CoinGeckoResult(
this.data, {
this.isError = false,
this.errorMessage,
this.errorCode,
});