Created
September 20, 2020 06:16
-
-
Save 22shubh22/30b5980118efc577111075b7dcd891f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Future<String> signUp({String email, String password}) async { | |
try { | |
AuthResult result = await _firebaseAuth.createUserWithEmailAndPassword( | |
email: email, | |
password: password, | |
); | |
return result.user.uid; | |
} catch (e) { | |
print(e); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment