Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:io
  3. FileStat class
FileStat
description

FileStat classinterface

The result of calling the POSIXstat() function on a file system object.

This is an immutable object, representing the snapshotted values returnedby thestat() call.

Properties

accessedDateTime
The time of the last access to the data of the file system object.
final
changedDateTime
The time of the last change to the data or metadata of the file systemobject.
final
hashCodeint
The hash code for this object.
no setterinherited
modeint
The mode of the file system object.
final
modifiedDateTime
The time of the last change to the data of the file system object.
final
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
sizeint
The size of the file system object.
final
typeFileSystemEntityType
The type of the underlying file system object.
final

Methods

modeString()String
The mode value as a human-readable string.
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
override

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Static Methods

stat(Stringpath)Future<FileStat>
Asynchronously calls the operating system'sstat() function (orequivalent) onpath.
statSync(Stringpath)FileStat
Calls the operating system'sstat() function (or equivalent) onpath.
  1. Dart
  2. dart:io
  3. FileStat class
dart:io library

[8]ページ先頭

©2009-2025 Movatter.jp