FutureSingleElementPreferencesRepository<T> class

Repository class that takes DesSer<T> and allows you to save and read your objects. This is simplified version of FuturePreferencesRepository which only stores one value.

Properties

desSer DesSer<T>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
prefs Future<SharedPreferences>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

find() Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove() Future<void>
save(T t) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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