userChanges method
Provides a stream of user changes.
Streams changes to the user profile.
Returns a Stream of User? values.
Example:
auth.userChanges().listen((user) {
// Handle user change
});
Implementation
Stream<User?> userChanges() => userController.stream;