updateWifiAdapterName method

Future<bool> updateWifiAdapterName(
  1. String newName
)

Updates the name of the Wi-Fi adapter.

The new name is given by newName.

Returns true if it has been set successfully, otherwise false.

Implementation

Future<bool> updateWifiAdapterName(String newName) async {
  return _datalinkManager.updateAdapterName(WIFI, newName);
}