getMarketCapIn method

double? getMarketCapIn(
  1. String vsCurrency
)

Returns the market cap in the specified vsCurrency.

The vsCurrency parameter is the currency in which the market cap is requested.

Implementation

double? getMarketCapIn(String vsCurrency) {
  return Convert.toDoubleN(_json['${vsCurrency.toLowerCase()}_market_cap']);
}