getJson method

Future getJson(
  1. String path, {
  2. Map<String, String>? query,
})

Implementation

Future<dynamic> getJson(String path, {Map<String, String>? query}) async =>
    _decode(await http.get(_url(path, query), headers: _headers()));