getRequestNoAuth static method
Implementation
static Future<dynamic> getRequestNoAuth(url) async {
var networkStatus = await connectionChecker();
if (!networkStatus) {
throw ("No internet connection");
}
var response = await http
.get(Uri.parse(url), headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
'x-access-channel':'mobile-app'
});
return response;
}