getWifiBSSID method

Future<String?> getWifiBSSID()

Obtains the wifi BSSID 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 BSSID.

Implementation

Future<String?> getWifiBSSID() {
  return _platform.getWifiBSSID();
}