FileExt class

A utility class for handling cache file operations, such as creating cache directories and deleting them.

Constructors

FileExt()

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

cacheRootPath ↔ String
Stores the root path of the cache directory.
getter/setter pair

Static Methods

createCachePath([String? cacheDir]) → Future<String>
Creates and returns the path to the cache directory.
deleteCacheDirByKey(String key) → Future<void>
Deletes a specific cache directory by its key.
deleteDefaultCacheDir() → Future<void>
Deletes the default cache directory.