hasConnection method
This function checks if the device currently has any type of network connection.
params: None
returns:
Future<bool>
: indicating whether the device has a network connection.
Implementation
Future<bool> async
- talawa
- connectivity_service
- ConnectivityService
- hasConnection method