wifi static method

Future<void> wifi()

Toggle Wifi.

If it is already turned on wifi ( ) will turn it off else it'll turn it on

Implementation

static Future<void> wifi() async {
  if (Platform.isIOS) {
  } else {
    await _channel.invokeMethod('wifi');
  }
}