userChanges method
Notifies about changes to any user updates.
This is a superset of both authStateChanges and idTokenChanges. It
provides events on all user changes, such as when credentials are linked,
unlinked and when updates to the user profile are made. The purpose of
this Stream is for listening to realtime updates to the user state
(signed-in, signed-out, different user & token refresh) without
manually having to call reload
and then rehydrating changes to your
application.
Implementation
Stream<User?> userChanges() => _pipeStreamChanges(_delegate.userChanges());