fsWatch method

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);
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/IOOverrides/fsWatch.html