Use the reloadUser method to refresh the current user's information from the Firebase backend.
reloadUser
final user = await FirebaseApp.firebaseAuth?.reloadUser();
None
User?: The updated User instance representing the current user.
User
This method reloads the current user's information from the Firebase backend, returning the updated user data.
Last updated 1 year ago