getTokenPrice method

Future<JSON> getTokenPrice(
  1. String symbol
)

Implementation

Future<JSON> getTokenPrice(String symbol) async {
  final endpoint = "$baseURL/token/price?token=${symbol}";

  final result = await getCall<JSON>(endpoint);

  return result;
}