Returns commonly used locations on the filesystem.

Static Methods

getApplicationDocumentsDirectory() Future<Directory>

Path to a directory where the application may place files that are private to the application and will only be cleared when the application itself is deleted.

getTemporaryDirectory() Future<Directory>

Path to the temporary directory on the device. Files in this directory may be cleared at any time. This does not return a new temporary directory. Instead, the caller is responsible for creating (and cleaning up) files or directories within this directory. This directory is scoped to the calling application.

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

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