AsyncPrefsBackend class

SkipStoreBackend over SharedPreferencesAsync.

Implemented types

Constructors

AsyncPrefsBackend(SharedPreferencesAsync _prefs)
Creates a backend.

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

getBool(String key) → Future<bool?>
Reads a bool value.
override
getString(String key) → Future<String?>
Reads a string value.
override
keys() → Future<Set<String>>
All stored keys.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String key) → Future<void>
Removes a key.
override
setBool(String key, bool value) → Future<void>
Writes a bool value.
override
setString(String key, String value) → Future<void>
Writes a string value.
override
toString() → String
A string representation of this object.
inherited

Operators

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