W3cubDocs

/Dart 2

isDirectory property

bool isDirectory
final

Is true if the event target was a directory.

Note that if the file has been deleted by the time the event has arrived, this will always be false on Windows. In particular, it will always be false for delete events.

Implementation

final bool isDirectory

© 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/FileSystemEvent/isDirectory.html