isDirectory property

bool get isDirectory

Implementation

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