get24hChangeIn method

double get24hChangeIn(
  1. String vsCurrency
)

Implementation

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