Watcher class abstract

Implementers

Constructors

Watcher(String path, {Duration? pollingDelay})
Creates a new DirectoryWatcher or FileWatcher monitoring path, depending on whether it's a file or directory.
factory

Properties

events Stream<WatchEvent>
The broadcast Stream of events that have occurred to the watched file or files in the watched directory.
read-only
hashCode int
The hash code for this object.
read-onlyinherited
isReady bool
Whether the watcher is initialized and watching for changes.
read-only
path String
The path to the file or directory whose contents are being monitored.
read-only
ready Future
A Future that completes when the watcher is initialized and watching for changes.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited