isDirectory property
bool
get
isDirectory
If true, the file represents a directory.
Implementation
bool get isDirectory => !isFile;
If true, the file represents a directory.
bool get isDirectory => !isFile;