Stat class

Annotations
  • @immutable

Constructors

Stat({required int deviceId, required int inode, required Mode mode, required int nlink, required int uid, required int gid, required int rdev, required int size, required int blocks, required DateTime lastAccess, required DateTime lastModified, required DateTime lastStatusChange, int blockSize = 0})
const

Properties

blocks int
st_blocks - Number of 512B blocks allocated
final
blockSize int
st_blksize - This field gives the "preferred" blocksize for efficient filesystem I/O. (Writing to a file in smaller chunks may cause an inefficient read-modify-rewrite.)
final
deviceId int
st_dev - ID of device containing filesystem entity
final
gid int
st_gid - Group ID of the filesystem entity owner
final
hashCode int
The hash code for this object.
no setteroverride
inode int
st_ino - Inode number of filesystem entity
final
lastAccess DateTime
st_atim - Time of last access to the filesystem entity
final
lastModified DateTime
st_mtim - Time of last modification to the filesystem entity
final
lastStatusChange DateTime
st_ctim - Time of last status change for the filesystem entity It is changed by writing or by setting inode information (i.e., owner, group, link count, mode, etc.).
final
mode Mode
st_mode - File type and mode
final
st_nlink Number of hard links to the filesystem entity
final
rdev int
st_rdev - Device ID (if special filesystem entity)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
st_size - Total size of filesystem entity, in bytes
final
uid int
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.
override