onAuthStateChanged property
Sends events when the users sign-in state changes.
After 4.0.0, this is only triggered on sign-in or sign-out. To keep the old behavior, see onIdTokenChanged.
If the value is null
, there is no signed-in user.
Implementation
Stream<User?> get onAuthStateChanged => _changeController.stream;