static Future<bool> hasNetworkConnection() async { if (!kIsWeb) { return InternetConnectionChecker().hasConnection; } return true; }