-
-
Save sbis04/f17475729f58b3ab71392b527a8c9452 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
Future<String> signOut() async { | |
await _auth.signOut(); | |
SharedPreferences prefs = await SharedPreferences.getInstance(); | |
prefs.setBool('auth', false); | |
uid = null; | |
userEmail = null; | |
return 'User signed out'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment