isDirectory property

  1. @override
bool get isDirectory
override

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

@override
bool get isDirectory => fileSystemEvent.isDirectory;