changePassword abstract method

Future<UsersBaseModel> changePassword(
  1. String email,
  2. String oldPassword,
  3. String newPassword
)

Changes the password for the user. /// \param email The email address of the user whose password is being changed. \param oldPassword The current password of the user (required for re-authentication). \param newPassword The new password to set for the user account. /// \returns A Future that completes when the password is changed successfully. Throws a FirebaseAuthException if the old password is incorrect or other Firebase errors occur.

Implementation

Future<UsersBaseModel> changePassword(String email, String oldPassword, String newPassword);