get method

Future<Response> get (
  1. dynamic url,
  2. {Map<String, String> headers}
)
override

Implementation

Future<Response> get(url, {Map<String, String> headers}) async {
  final String id = _id(Method.GET, url, headers, null);
  Response response = _get(id);
  if (response == null) {
    response = await _transporter.get(url, headers: headers);
    _put(id, response);
  }
  return response;
}