SessionManager class

Constructors

SessionManager()
factory

Properties

dbTable String
latefinal
defaultTtl Duration
final
driver String
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionFile File?
latefinal

Methods

createSession(HttpResponse response, Map<String, dynamic> data, {Duration? ttl}) Future<String>
destroySession(HttpResponse response, String? sessionId) Future<void>
getSession(String? sessionId) Future<Map<String, dynamic>?>
isReady() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance SessionManager
final