SessionManager class
Tracks one active session at a time plus the history of closed ones. Opening a new session auto-closes the previous one.
Constructors
- SessionManager({DateTime clock()?})
Properties
Methods
-
byId(
String id) → Session? -
close(
int currentSeq) → Session? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
note(
String text) → bool -
open(
String name, int currentSeq) → Session -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited