get24hVolIn method

double get24hVolIn(
  1. String vsCurrency
)

Implementation

double get24hVolIn(String vsCurrency) {
  if (dataAvailableIn().contains(vsCurrency)) {
    return data["${vsCurrency}_vol"] ?? -2;
  } else {
    ///data not available for requested currency in this instance
    return -1;
  }
}