The type of an entity on the file system, such as a file, directory, or link.

These constants are used by the FileSystemEntity class to indicate the object's type.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited

Constants

DIRECTORY → dynamic
const FileSystemEntityType._internal(1)
FILE → dynamic
const FileSystemEntityType._internal(0)
const FileSystemEntityType._internal(2)
NOT_FOUND → dynamic
const FileSystemEntityType._internal(3)