isDirectory property

bool get isDirectory

Whether this entry is a folder.

Implementation

bool get isDirectory => type == DiskEntryType.directory;