Checks if device is currently connected to the internet
Future<bool> isConnected() async { final result = await _connectivity.checkConnectivity(); return result != ConnectivityResult.none; }