Future<bool> get isConnected async { try { if (await hasInternetFast) { return true; } return await hasInternet; } catch (e) { return false; } }