PreferencesStorage class final

Constructors

PreferencesStorage(SharedPreferences _preferences)

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

delete(String key) FutureOr<void>
Deletes the data associated with key.
deleteOutOfDate() → void
Deletes all data that is out of date.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) FutureOr<PersistedData<String>?>
Reads the data associated with key.
toString() String
A string representation of this object.
inherited
write(String key, String value, StorageOptions options) FutureOr<void>
Writes value associated with key.

Operators

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