stop method

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

Implementation

@override
Future<void> stop() async {
  if (!_isScanInProgress) return;
  _isScanInProgress = false;
  await backend.stopDiscovery();
  notifyState(state);
}