SharedPreferencesService class

Requires LoggerService

Mixed in types

Properties

hashCode int
The hash code for this object.
no setterinherited
logger LoggerService
Shortcut to access the Logger service.
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
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) → void
setDateTime(String key, DateTime value) → void
setInt(String key, int value) → void
setIntList(String key, List<int> intList, {bool removeIfEmpty = true}) → void
setString(String key, String value) → void
setStringList(String key, List<String> stringList, {bool removeIfEmpty = true}) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create() Future<SharedPreferencesService>
Requires LoggerService