Skip to content

Instantly share code, notes, and snippets.

@vijayinyoutube
Created December 28, 2021 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijayinyoutube/bdd5ec34041e965769dbf1504f30f995 to your computer and use it in GitHub Desktop.
Save vijayinyoutube/bdd5ec34041e965769dbf1504f30f995 to your computer and use it in GitHub Desktop.
authenticateMe(ConfirmationResult confirmationResult, String otp) async {
UserCredential userCredential = await confirmationResult.confirm(otp);
userCredential.additionalUserInfo!.isNewUser
? printMessage("Successful Authentication")
: printMessage("User already exists");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment