isDirectory property
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
@override
final bool isDirectory;