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