SharedPreferencePref class

Inheritance

Constructors

SharedPreferencePref(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

addToList(String key, String value) Future<bool>
dispose() Future<void>
override
get<T>(String key, T defaultValue) Stream<T>
override
getMultiple<T>(List<String> key, List<T> defaultValue) Stream<List<T>>
override
getOnce<T>(String key, T defaultValue) → T
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String key) Future<bool>
override
removeAt(String key, int pos) Future<bool>
removeFromList(String key, String value) Future<bool>
set<T>(String key, T value) Future<bool>
override
toString() String
A string representation of this object.
inherited

Operators

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