SharedPrefsStore class

ValueStore on shared_preferences. Values saved as another type (an older app version's bool / int) are read as text.

Inheritance

Constructors

SharedPrefsStore()
const

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() → Future<void>
override
delete(String key) → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<String?>
override
toString() → String
A string representation of this object.
inherited
write(String key, String value) → Future<void>
override

Operators

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