FileCacheImpl class Null safety

A FileCache implementation where files are stored in rootDirectory/files_cache/subFolderName

Constructors

FileCacheImpl({required Future<Directory> rootDirectory, required String subFolderName})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
length Future<int>
read-only
rootDirectory Future<Directory>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subFolderName String
final

Methods

clear() Future<void>
containsKey(String key) Future<bool>
get(String key) Future<Uint8List?>
initCache() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
put(String key, Uint8List item, {bool overrideExistingItem = true}) Future<bool>
remove(String key) Future<bool>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited