getMetrics static method
Get Crypto Asset Metrics.
Implementation
static Future<AssetMetricsResponse> getMetrics(String assetId) async {
AssetMetricsResponse response = await _assetsClient.getMetrics(assetId);
_xRateMap[response.assetMetric.slug] =
response.assetMetric.marketData.priceUsd;
return response;
}