SharedPreferencesStorage class

ClientStorage implementation for Flutter.

SharedPreferencesStorage uses shared_preferences package.

SharedPreferencesStorage is the default storage for AltogicClient in Flutter.

Inheritance

Constructors

SharedPreferencesStorage()

Properties

hashCode int
The hash code for this object.
no setterinherited
preferences ↔ SharedPreferences
Shared preferences instance
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getItem(String key) Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeItem(String key) Future<void>
override
setItem(String key, String value) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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