stop method

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

Implementation

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