ImpBaseStoreSp class

Inheritance

Constructors

ImpBaseStoreSp(SharedPreferences _sharedPreferences)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() Future<bool>
Completes with true once the user preferences for the app has been cleared.
override
getBool(String key) bool
Reads a value from persistent storage, throwing an exception if it's not a bool.
override
getDouble(String key) double
Reads a value from persistent storage, throwing an exception if it's not a double.
override
getInt(String key) int
Reads a value from persistent storage, throwing an exception if it's not an int.
override
getKeys() Set<String>
override
getString(String key) String
Reads a value from persistent storage, throwing an exception if it's not a String.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove(String key) Future<bool>
Removes an entry from persistent storage.
override
setBool(String key, bool value) Future<bool>
Saves a boolean value to persistent storage in the background. [...]
override
setDouble(String key, double value) Future<bool>
Saves a double value to persistent storage in the background. [...]
override
setInt(String key, int value) Future<bool>
Saves an integer value to persistent storage in the background. [...]
override
setString(String key, String value) Future<bool>
Saves a string value to persistent storage in the background. [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

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