FlutterKeyValueFileStorage class
FlutterFileStorage storage allows you to save, read and delete files The files are saved using the fileStorage but the content is always encrypted using: AES/GCM
Constructors
- FlutterKeyValueFileStorage(FlutterSecureStorage storage, {FileStorage? fileStorage, String? keysStorageKey})
- FlutterFileStorage will use
Properties
- fileStorageManager ↔ FileStorageManager
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
containsKey(
{required String key}) → Future< bool> -
Returns true if the storage contains the given
key
. -
delete(
{required String key}) → Future< void> -
Deletes associated value for the given
key
. -
deleteAll(
) → Future< void> - Deletes all keys with associated values.
-
getAllKeys(
) → Future< Set< String> > - Returns all keys with associated values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
T> ({required String key}) → Future< T?> -
Returns the value for the given
key
or null ifkey
is not in the storage. -
toString(
) → String -
A string representation of this object.
inherited
-
write<
T> ({required String key, required T? value}) → Future< void> -
Saved the given
value
withkey
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited