SharedPreferenceStorage class
Concrete implementation of the Storage used by the key manager.
- Implemented types
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
-
getInt(
String key) → Future< int?> -
Retrieves an int value with the specified key.
override
-
getString(
String key) → Future< String?> -
Retrieves a string value with the specified key.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → Future< void> -
Removes a value for the specified key.
override
-
setInt(
String key, int value) → Future< void> -
Stores an int value with the specified key.
override
-
setString(
String key, String value) → Future< void> -
Stores a string value with the specified key.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited