Future<bool> isWifi() async { return await (_connectivity.checkConnectivity()) == ConnectivityResult.wifi ? true : false; }