sendSignInLinkToEmail method Null safety

Future<void> sendSignInLinkToEmail(
  1. String email,
  2. ActionCodeSettings actionCodeSettings

Sends a sign in with email link to provided email address.

To complete the password reset, call confirmPasswordReset with the code supplied in the email sent to the user, along with the new password specified by the user.

A FirebaseAuthException maybe thrown with the following error code:

  • invalid-email:
  • Thrown if the email address is not valid.
  • user-not-found:
  • Thrown if there is no user corresponding to the email address.


Future<void> sendSignInLinkToEmail(
  String email,
  ActionCodeSettings actionCodeSettings,
) {
  throw UnimplementedError('sendSignInLinkToEmail() is not implemented');