Dirs class

call prepare() first.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

dirCache Directory
latefinal
dirDocument Directory
latefinal
dirDownload Directory?
latefinal
dirSupport Directory
latefinal
dirTemp Directory
latefinal

Static Methods

appFile({String? file, String? ext, String? dir}) File
for app
cacheFile({String? file, String? ext, String? dir}) File
for cache
makeFile(Directory base, {String? file, String? ext, String? dir}) File
prepare() Future<void>
tempFile({String? file, String? ext, String? dir}) File
for temp
tempWrite(Uint8List data, {String ext = ".tmp"}) → void
tempWriteText(String data, {String ext = ".tmp"}) → void
userFile({String? file, String? ext, String? dir}) File
for user