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.
no setter
hashCode int
The hash code for this object.
no setterinherited
isReady bool
Whether the watcher is initialized and watching for changes.
no setter
path String
The path to the file or directory whose contents are being monitored.
no setter
ready Future
A Future that completes when the watcher is initialized and watching for changes.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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