get method

Future get(
  1. Uri path, {
  2. Map<String, String?>? params,
  3. bool followRedirects = false,
})

Make a simple GET request.

path is the destination URI that the request will be made to.

Implementation

Future<dynamic> get(Uri path,
    {Map<String, String?>? params, bool followRedirects = false}) async {
  _logger.info('GET: $path params: ${DRAWLoggingUtils.jsonify(params)}');
  return _request(_kGetRequest, path,
      params: params, followRedirects: followRedirects);
}