triggerAll method
Triggers all watchers in this group with the same values
Implementation
Future<void> triggerAll(dynamic newValue, dynamic oldValue) async {
for (final watcher in _watchers) {
try {
await watcher.trigger(newValue, oldValue);
} catch (error) {
if (enableDebugMode) {
_logger.error(
'Error triggering watcher for path "${watcher.path}": $error');
}
}
}
}