stop method

Future<void> stop()
override

Stops the current discover or broadcast.

Implementation

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