currentUser property
User?
currentUser
Returns the current User if they are currently signed-in, or null
if
not.
You should not use this getter to determine the users current state, instead use authStateChanges, or idTokenChanges to subscribe to updates.
Implementation
User? get currentUser => _currentUser;