static Future<bool> checkInternetConnectivity() async{ bool result = true; if(!kIsWeb){ result = await InternetConnectionChecker().hasConnection; } return result; }