stopAll method
Stops all active watchers.
Implementation
Future<void> stopAll() async {
for (final sub in _subscriptions.values) {
await sub.cancel();
}
_subscriptions.clear();
}
Stops all active watchers.
Future<void> stopAll() async {
for (final sub in _subscriptions.values) {
await sub.cancel();
}
_subscriptions.clear();
}