Prefs class

Constructors

Prefs()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → SharedPreferences
no setter

Static Methods

configureTestHooks({Future<bool> writeOverride(PrefsWriteRequest request)?}) → void
containsKey(String key) → bool
getBool(String key) → bool?
getDouble(String key) → double?
getInt(String key) → int?
getString(String key) → String?
init() → Future<void>
remove(String key) → Future<void>
resetForTest() → void
setBool(String key, bool value) → Future<void>
setDouble(String key, double value) → Future<void>
setInt(String key, int value) → Future<void>
setString(String key, String value) → Future<void>