networkConnected static method
Check if there is internet connection
Implementation
static bool networkConnected() {
return connectivityResult != ConnectivityResult.none;
}
Check if there is internet connection
static bool networkConnected() {
return connectivityResult != ConnectivityResult.none;
}