type property

The type of the object (file, directory, or link).

If the call to stat() fails, the type of the returned object is FileSystemEntityType.notFound.

Implementation

FileSystemEntityType? get type;