SecurityClient class
SecurityClient class.
All of the available methods to store and manage encrypted keys are going to be available through this class.
An instance can be created through calling the method create.
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
-
add(
String key, String value) → Future< void> -
Add a
key
andvalue
pair to the current SecurityClient instance database. -
delete(
String key) → Future< void> -
Delete a single entry for the specified
key
in the current SecurityClient instance database. -
destroy(
) → Future< void> - Delete the database for the current SecurityClient instance.
-
getAll(
) → Future< Map< String, String> > - Get all saved entries in the current SecurityClient instance database.
-
getOne(
String key) → Future< String?> - Get a single entry in the current SecurityClient instance database.
-
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 Methods
-
create(
String name, String password) → Future< SecurityClient> -
Creates instance for SecurityClient for
name
withpassword
.