watcher library Null safety

Classes

ChangeType
Enum for what kind of change has happened to a file.
DirectoryWatcher
Watches the contents of a directory and emits WatchEvents when something in the directory has changed.
FileWatcher
Watches a file and emits WatchEvents when the file has changed. [...]
PollingDirectoryWatcher
Periodically polls a directory for changes.
PollingFileWatcher
Periodically polls a file for changes.
Watcher
WatchEvent
An event describing a single change to the file system.

Functions

registerCustomWatcher(String id, DirectoryWatcher? createDirectoryWatcher(String path, {Duration? pollingDelay})?, FileWatcher? createFileWatcher(String path, {Duration? pollingDelay})?) → void
Registers a custom watcher. [...]