NPreferences class Null safety

This class for local storage using SharedPreferences

Constructors

NPreferences()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
preferences Future<SharedPreferences>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

clear() Future<bool>
getData<T>(String key) Future<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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