all_src/utils/network_utils library
Functions
-
isConnectedToMobile(
) → Future< bool> - returns true if connected to mobile
-
isConnectedToWiFi(
) → Future< bool> - returns true if connected to wifi
-
isNetworkAvailable(
) → Future< bool> - returns true if network is available