isDirectory property

bool isDirectory
final

Whether the event target is a directory.

The value will always be false for FileSystemDeleteEvent.

On Windows, the value may also be false for a create, move or modify event on a directory, if that directory was deleted soon after this create, modify or move event occured.

Implementation

final bool isDirectory;