NPreferences class
This class for local storage using SharedPreferences
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
preferences
→ Future<
SharedPreferences> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → Future< bool> -
getData<
T> (String key) → Future< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveData<
T> (String key, T value) → Future< bool> - Save data with primary data types: String, List
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited