Session class
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
createSession(Request request)
→ Session
-
Creates a new session, assigns it a unique id and returns that session.
-
deleteSession(Request request)
→ void
-
Invalidates the session for the specified request.
-
getSession(Request request)
→ Session?
-
Returns the session for the specified request, if it was previously
created; otherwise returns null.