generateEmailVerificationLink method

Future<String> generateEmailVerificationLink(
  1. String email, [
  2. ActionCodeSettings? actionCodeSettings
])

Generates the out of band email action link for email verification flows for the email specified using the action code settings provided.

Implementation

Future<String> generateEmailVerificationLink(String email,
    [ActionCodeSettings? actionCodeSettings]) {
  return _authRequestHandler
      .getEmailActionLink('VERIFY_EMAIL', email,
          actionCodeSettings: actionCodeSettings)
      .then((value) => value);
}