getRequestWithAuth static method
Implementation
static Future<dynamic> getRequestWithAuth(url) async {
var networkStatus = await connectionChecker();
if (!networkStatus) {
throw ("No internet connection");
}
var response = await http.get(Uri.parse(url),
headers: await ApiHelpers().getNormalHeader());
return response;
}