getWithKey method

Future<Response> getWithKey(
  1. String path,
  2. Map<String, dynamic> queries
)

Implementation

Future<http.Response> getWithKey(
    String path, Map<String, dynamic> queries) async {
  _preValidation();
  _addApiKey(queries);
  return http.get(new Uri.https(_host, _baseUrl + path, queries),
      headers: <String, String>{"Content-Type": "application/json"});
}