getWifiName method

Future<String?> getWifiName()

Implementation

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