isDir property
bool
get
isDir
True if the expression matches a dir (ends with '/').
Implementation
bool get isDir => expression.endsWith(posix.separator);
True if the expression matches a dir (ends with '/').
bool get isDir => expression.endsWith(posix.separator);