SharedPreferencesService class
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
-
getBool(String key, bool def)
→ bool
-
-
getDateTime(String key, DateTime def)
→ DateTime
-
-
getDouble(String key, double def)
→ double
-
-
getInt(String key, int def)
→ int
-
-
getIntList(String key, List<int> def)
→ List<int>
-
-
getString(String key, String def)
→ String
-
-
getStringList(String key, List<String> def)
→ List<String>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setBool(String key, bool value)
→ Future<bool>
-
-
setDateTime(String key, DateTime value)
→ Future<bool>
-
-
setDouble(String key, double value)
→ Future<bool>
-
-
setInt(String key, int value)
→ Future<bool>
-
-
setIntList(String key, List<int> intList, {bool removeIfEmpty = true})
→ Future<bool>
-
-
setString(String key, String value)
→ Future<bool>
-
-
setStringList(String key, List<String> stringList, {bool removeIfEmpty = true})
→ Future<bool>
-
-
toString()
→ String
-
A string representation of this object.
inherited