authenticationState property
Whether a user is logged in, not logged in, or if a sign-in is in process.
Implementation
@override
AuthenticationState get authenticationState {
if (_loading) return AuthenticationState.inProgress;
return _session.session != null
? AuthenticationState.signedIn
: AuthenticationState.signedOut;
}