FileSystemEntityType class

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 ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

DIRECTORY → const FileSystemEntityType
@Deprecated("Use directory instead")
directory
directory → const FileSystemEntityType
const FileSystemEntityType._internal(1)
FILE → const FileSystemEntityType
@Deprecated("Use file instead")
file
file → const FileSystemEntityType
const FileSystemEntityType._internal(0)
@Deprecated("Use link instead")
link
const FileSystemEntityType._internal(2)
NOT_FOUND → const FileSystemEntityType
@Deprecated("Use notFound instead")
notFound
notFound → const FileSystemEntityType
const FileSystemEntityType._internal(3)