Use the static notifyWatchers method to add simulated events.
- directory → String
The directory whose contents are being monitored.
The broadcast Stream of events that have occurred to the watched file or
files in the watched directory.
- hashCode → int
The hash code for this object.
- isReady → bool
Whether the watcher is initialized and watching for changes.
- path → String
The path to the file or directory whose contents are being monitored.
- ready → Future
A Future that completes when the watcher is initialized and watching for
- runtimeType → Type
A representation of the runtime type of the object.
WatchEvent event) → void
Notify all active watchers of
FakeWatcher#pathmatches. The path will also be adjusted to remove the path.