enableWifiServices method

  1. @override
Future<void> enableWifiServices()
override

Attempts to open the device's Wi-Fi settings screen for the user to enable Wi-Fi.

Returns a Future that completes when the settings screen is opened. Check the result using checkWifiEnabled after the user returns to the app.

Implementation

@override
Future<void> enableWifiServices() async {
  await methodChannel.invokeMethod('enableWifiServices');
}