Future<String?> getWifiName() async { if(await isWifi()){ return await WifiInfo().getWifiName(); } return ""; }