cryptocurrencyPrice method
Cryptocurrency Price
Implementation
Future<CryptoPrice?> cryptocurrencyPrice(String symbol) async {
final path = '/crypto/${symbol.toLowerCase()}/price?token=$token';
return await _get<CryptoPrice?>(
path,
callback: (data) => CryptoPrice.parse(data),
);
}