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;