getResponse method
Returns the response of the given url
after a GET request. This
process is async, thus the response is returned as a future response
instance.
Implementation
Future<http.Response> getResponse(
Uri uri, {
Map<String, String>? headers,
}) async =>
_client.get(uri, headers: headers);