getPriceIn method
Returns the price in the specified vsCurrency
.
The vsCurrency
parameter is the currency in which the price is requested.
Implementation
double? getPriceIn(String vsCurrency) {
return Convert.toDoubleN(_json[vsCurrency.toLowerCase()]);
}