FileStat class

The FileStat-type represents metadata about a file

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

FileStat({FileType? type, num? ctime, num? mtime, num? size, FilePermission? permissions})
factory

Properties

ctime num

Available on FileStat, provided by the FileStat$Typings extension

The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mtime num

Available on FileStat, provided by the FileStat$Typings extension

The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
getter/setter pair
permissions FilePermission?

Available on FileStat, provided by the FileStat$Typings extension

The permissions of the file, e.g. whether the file is readonly.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size num

Available on FileStat, provided by the FileStat$Typings extension

The size in bytes.
getter/setter pair
type FileType

Available on FileStat, provided by the FileStat$Typings extension

The type of the file, e.g. is a regular file, a directory, or symbolic link to a file.
getter/setter pair

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