current property
AuthSessionSnapshot?
get
current
The current session snapshot, or null when logged out.
Implementation
AuthSessionSnapshot? get current {
final currentToken = token;
if (currentToken == null) return null;
return AuthSessionSnapshot(token: currentToken, user: user);
}