session method

Session? session()

Returns the session data, if there is an active session.

Implementation

Session? session() {
  return currentSession;
}