PreferencesHelper class

Constructors

PreferencesHelper({required Future<SharedPreferences> sharedPreferences})

Properties

getToken Future<String>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedPreferences Future<SharedPreferences>
final

Methods

getStringSharedPref(String key) Future<String>
isSharedPref(String key) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeStringSharedPref(String key) → void
setSharedPref(String key, bool value) → void
setStringSharedPref(String key, String data) → void
toString() String
A string representation of this object.
inherited

Operators

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