EncryptFileLoader class Null safety

EncryptFileLoader is a class that loads, caches, and decrypts.

Constructors

EncryptFileLoader()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

deleteAll() Future<int>
Delete all files. Returns the amount of rows that were deleted.
deleteGroup(String group) Future<int>
Delete files that belong to the group. Returns the amount of rows that were deleted.
deleteOldFiles(DateTime base) Future<int>
Delete files older than the base. Returns the amount of rows that were deleted.
getData({required String url, required CryptoType type}) Future<DecryptResult?>
Get DecryptResult from db, and decrypt by CryptoType.
load({required String url, String group = 'no_group'}) Future<LoadResult>
Load file from server or internal db.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
vacuum() Future<void>
Rebuilds the database file, repacking it into a minimal amount of disk space.

Operators

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