get method
Performs a GET request to the specified url
, adding the authorization token.
If no token already exists, or if it is expired, a new one is requested.
Implementation
Future<http.Response> get(String url,
{Map<String, String>? headers, http.Client? httpClient}) async {
return _request('GET', url, headers: headers, httpClient: httpClient);
}