fsWatch method Null safety

Stream<FileSystemEvent> fsWatch (
  1. String path,
  2. int events,
  3. bool recursive
)

Returns a Stream of FileSystemEvents.

When this override is installed, this function overrides the behavior of FileSystemEntity.watch().

Implementation

Stream<FileSystemEvent> fsWatch(String path, int events, bool recursive) {
  return _FileSystemWatcher._watch(path, events, recursive);
}