currentSession property

Session? get currentSession

Gets the current session synchronously.

Returns the current session if one exists, or null if not authenticated. For a fresh session fetch, use getSession instead.

Implementation

Session? get currentSession => _sessionNotifier.value;