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