userChanges static method

Stream<User?> userChanges()

Returns the current User Changes 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, idTokenChanges or userChanges to subscribe to updates.

Implementation

static Stream<User?> userChanges() => _auth.userChanges();