ApplicationPreferenceManager class
Constructors
- ApplicationPreferenceManager()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localKeys
→ List<
String> -
final
- prefrences → SharedPreferences
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBool(
String key) → bool? -
getDouble(
String key) → double? -
getInt(
String key) → int? -
getString(
String key) → String? -
justRead(
String key) → dynamic -
load(
) → Future< SharedPreferences> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Map< String, dynamic> -
readBool(
String key) → bool? -
readDouble(
String key) → double? -
readInt(
String key) → int? -
readList(
String key) → List< Map< String, dynamic> > -
readString(
String key) → String? -
setBool(
String key, bool value) → Future< bool> -
setDouble(
String key, double value) → Future< bool> -
setFromMap(
Map< String, dynamic> map) → Future<bool> -
setInt(
String key, int value) → Future< bool> - /
-
setString(
String key, String value) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, Map< String, dynamic> value) → Future<bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited