FileStats class
File statistics information
Contains metadata about a file including size, timestamps, and type.
Constructors
Properties
- accessed → DateTime?
-
Last accessed timestamp (may be null on some platforms)
final
- changed → DateTime?
-
Last changed timestamp (may be null on some platforms)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → int?
-
File mode/permissions (Unix-style, may be null on Windows)
final
- modified → DateTime
-
Last modified timestamp
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
File size in bytes
final
- type → FileType
-
File type (file, directory, link, notFound)
final
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