isDirectory property

bool get isDirectory

Whether this is a prefix.

Implementation

bool get isDirectory => !isObject;