userChanges abstract method

Stream<User?> userChanges()

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 to for listening to realtime updates to the user without manually having to call reload and then rehydrating changes to your application.

Implementation

Stream<User?> userChanges();