FileEntry class

A file entry with cached stat information.

Constructors

FileEntry({required FileSystemEntity entity, FileStat? stat})

Properties

entity FileSystemEntity
The file system entity.
final
hashCode int
The hash code for this object.
no setterinherited
isDirectory bool
Returns whether this is a directory.
no setter
Returns whether this is a symbolic link.
no setter
mode int
Returns the file mode/permissions.
no setter
name String
Returns the file name.
no setter
permissions String
Returns permissions as a string (e.g., "rwxr-xr-x").
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Returns the file size.
no setter
stat FileStat?
Cached stat information (optional).
final

Methods

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

Operators

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