hasCellular static method
Implementation
static Future<bool> hasCellular() async {
if (!kIsWeb) {
final List<ConnectivityResult> connectivityResult = await Connectivity().checkConnectivity();
return connectivityResult.contains(ConnectivityResult.mobile);
}
return true;
}