resetPassword method

Future<bool> resetPassword(
  1. String email,
  2. String verificationCode,
  3. String password
)

Attempts to reset the password for the given email with the given verification code and new password. If successful, true is returned. If the attempt is not a success, false is returned.

Implementation

Future<bool> resetPassword(
  String email,
  String verificationCode,
  String password,
) async {
  try {
    return await caller.email.resetPassword(
      verificationCode,
      password,
    );
  } catch (e) {
    return false;
  }
}