getWifiName method
Obtains the wifi name (SSID) of the connected network
Please note that it DOESN'T WORK on emulators (returns null).
From android 8.0 onwards the GPS must be ON (high accuracy) in order to be able to obtain the SSID.
Implementation
Future<String?> getWifiName() {
return _platform.getWifiName();
}