VaultStore class abstract
- Inheritance
-
- Object
- Store<
VaultInfo, VaultEntry> - VaultStore
- Available extensions
Constructors
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
-
clear(
String name) → Future< void> -
Clears a partition
inherited
-
close(
) → Future< void> -
Closes a store
inherited
-
containsKey(
String name, String key) → Future< bool> -
Checks if the partition contains a value indexed by
key
inherited -
create(
String name, {dynamic fromEncodable(Map< String, dynamic> )?}) → Future<void> -
Creates a partition
inherited
-
delete(
String name) → Future< void> -
Deletes a partition
inherited
-
deleteAll(
) → Future< void> -
Deletes all partitions
inherited
-
getEntry(
String name, String key) → Future< VaultEntry?> -
Returns the partition entry specified by
key
.inherited -
getInfo(
String name, String key) → Future< VaultInfo?> -
Returns the info for the specified
key
in a partition.inherited -
getInfos(
String name, Iterable< String> keys) → Future<Iterable< VaultInfo?> > -
Returns a Iterable over all the non nullable infos in a partition
inherited
-
infos(
String name) → Future< Iterable< VaultInfo> > -
Returns a Iterable over all the infos in the partition.
inherited
-
keys(
String name) → Future< Iterable< String> > -
Returns a Iterable over all the keys in the partition
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putEntry(
String name, String key, VaultEntry entry) → Future< void> -
Puts an entry identified by
key
on a partition. The value is overriden if already exists or added if it does not exists.inherited -
remove(
String name, String key) → Future< void> -
Removes the partition entry by
key
.inherited -
setInfo(
String name, String key, VaultInfo info) → Future< void> -
Sets the partition info indexed by
key
.inherited -
size(
String name) → Future< int> -
The number of entries in the partition
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
values(
String name) → Future< Iterable< VaultEntry> > -
Returns a Iterable over all entries in a partition
inherited
-
vault<
T> ({VaultManager? manager, String? name, dynamic fromEncodable(Map< String, dynamic> )?, VaultLoader<T> ? vaultLoader, EventListenerMode? eventListenerMode, bool? statsEnabled, VaultStats? stats}) → Future<Vault< T> > -
Available on Store<
Creates a new Vault backed by a StoreVaultInfo, VaultEntry> , provided by the VaultExtension extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited