removeHotspot method

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

Removes the currently active Wi-Fi Direct group (hotspot) on the native side.

Returns a Future that completes when the removal process is initiated.

Implementation

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