getSession static method
Returns the session for the specified request, if it was previously created; otherwise returns null.
Implementation
static Future<Session?> getSession(Request request) async {
storage.clearOutdated();
final sessionId = getSessionId(request);
return await storage.getSession(sessionId);
}