stopWatching method
Stop watching
Implementation
Future<void> stopWatching() async {
_debounceTimer?.cancel();
await _subscription?.cancel();
_subscription = null;
_watcher = null;
info('Watch mode stopped');
}
Stop watching
Future<void> stopWatching() async {
_debounceTimer?.cancel();
await _subscription?.cancel();
_subscription = null;
_watcher = null;
info('Watch mode stopped');
}