The updateCurrentUser method updates the current authenticated user with a new User instance.
updateCurrentUser
User
await FirebaseApp.firebaseAuth?.updateCurrentUser(user);
Parameters
user (User): The new User instance to update the current user.
Return
void: This method does not return a value.
This will update the current user in session with the newly created user user.
user
Last updated 1 year ago