W3cubDocs

/Dart 2

isWatchSupported property

bool isWatchSupported

Test if watch is supported on the current system.

OS X 10.6 and below is not supported.

Implementation

static bool get isWatchSupported {
  final IOOverrides overrides = IOOverrides.current;
  if (overrides == null) {
    return _FileSystemWatcher.isSupported;
  }
  return overrides.fsWatchIsSupported();
}

© 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/FileSystemEntity/isWatchSupported.html