sendPasswordResetEmail method

  1. @override
Future<void> sendPasswordResetEmail(
  1. String email, [
  2. ActionCodeSettings? actionCodeSettings
])

Triggers the Firebase Authentication backend to send a password-reset email to the given email address, which must correspond to an existing user of your app.

Implementation

@override
Future<void> sendPasswordResetEmail(String email,
    [ActionCodeSettings? actionCodeSettings]) async {
  try {
    await _delegate!.sendPasswordResetEmail(
        email: email, continueUrl: actionCodeSettings?.url);
  } catch (e) {
    throw getFirebaseAuthException(e);
  }
}