addWatcher method

void addWatcher(
  1. Function watcher
)

Add custom watcher to be fired in any reported change

Implementation

void addWatcher(Function watcher) => _watchers.add(watcher);