verifyBeforeUpdateEmail method

Future<void> verifyBeforeUpdateEmail(
  1. String newEmail,
  2. [ActionCodeSettings? actionCodeSettings]
)

Sends a verification email to a new email address. The user's email will be updated to the new one after being verified.

If you have a custom email action handler, you can complete the verification process by calling applyActionCode.

Implementation

Future<void> verifyBeforeUpdateEmail(
  String newEmail, [
  ActionCodeSettings? actionCodeSettings,
]) async {
  await _delegate.verifyBeforeUpdateEmail(newEmail, actionCodeSettings);
}