stop method

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

This stops the action (eg. stops discovery or broadcast).

Implementation

@override
Future<void> stop() async {
  await _channel.invokeMethod('$_classType.stop', toJson());
  _isStopped = true;
}