get static method
Implementation
static Future<dynamic> get(String url,
{Map<String, String>? headers,
bool debug = false,
bool sendLastModified = false}) async {
var reqHeaders = await getHeaders(customHeaders: headers);
if (debug) {
logger.d('Request headers: $reqHeaders');
}
var response = await http.get(Uri.parse(url), headers: reqHeaders);
return handleResponse(response);
}