FileSystemEntityType class final

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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

directory → const FileSystemEntityType
const FileSystemEntityType._internal(1)
file → const FileSystemEntityType
const FileSystemEntityType._internal(0)
const FileSystemEntityType._internal(2)
NOT_FOUND → const FileSystemEntityType
notFound
notFound → const FileSystemEntityType
const FileSystemEntityType._internal(5)
pipe → const FileSystemEntityType
const FileSystemEntityType._internal(4)
unixDomainSock → const FileSystemEntityType
const FileSystemEntityType._internal(3)