SessionManager class

A class for managing sessions, handles saving and retrieving of data

Constructors

SessionManager()
factory

Properties

authToken String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedPreferences ↔ SharedPreferences?
getter/setter pair

Methods

delete(String key) → dynamic
get(String key) → dynamic
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String key, String value) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance SessionManager
no setter

Constants

KEY_AUTH_TOKEN → const String
KEY_USERS_DATA → const String