W3cubDocs

/Dart 2

fsWatch method

Stream<FileSystemEvent> fsWatch (String path, int events, 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.dartlang.org/stable/2.0.0/dart-io/IOOverrides/fsWatch.html