passwordResetRequestAsync method

Future<void> passwordResetRequestAsync(
  1. dynamic emailAddress
)

Implementation

Future<void> passwordResetRequestAsync(emailAddress) async {
  try {
    await _auth.sendPasswordResetEmail(email: emailAddress);
  } on FirebaseAuthException catch (error) {
    if (error.code != 'ERROR_USER_NOT_FOUND') {
      throw Exception(error);
    }
  }
}