Created
December 28, 2021 11:54
-
-
Save vijayinyoutube/bdd5ec34041e965769dbf1504f30f995 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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