confirmPasswordReset method

Future<void> confirmPasswordReset(
  1. String token,
  2. String password
)

This function confirms a password reset using a token and a new password.

Args: token (String): The token is a unique string that is generated when a user requests to reset their password. This token is used to verify the user's identity when they reset their password. password (String): The password parameter is a string that represents the new password that the user wants to set for their account after resetting their password.

Implementation

Future<void> confirmPasswordReset(String token, String password) async {
  return _methods.confirmPasswordReset(token, password);
}