StatFs class

Retrieve overall information about the space on a filesystem.

This is a wrapper for Unix statvfs().

See: https://developer.android.com/reference/android/os/StatFs

Constructors

StatFs(String path)
Construct a new StatFs for looking at the stats of the filesystem at path. [...]

Properties

availableBlocks → int
The number of blocks that are free on the file system and available to applications. [...]
read-only
availableBytes → int
The number of bytes that are free on the file system and available to applications. [...]
read-only
blockCount → int
The total number of blocks on the file system. [...]
read-only
blockSize → int
The size, in bytes, of a block on the file system. [...]
read-only
freeBlocks → int
The total number of blocks that are free on the file system, including reserved blocks (that are not available to normal applications). [...]
read-only
freeBytes → int
The number of bytes that are free on the file system, including reserved blocks (that are not available to normal applications). [...]
read-only
path → String
The filesystem path being examined.
final
totalBytes → int
The total number of bytes supported by the file system. [...]
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited