-
-
Save ijoschek/fc449fd5bb570f76093a07b2c5a4519a to your computer and use it in GitHub Desktop.
flutter_auth_tut
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<Null> logoutWithGoogle() async { | |
await _auth.signOut(); | |
await _googleSignIn.signOut(); | |
} | |
Future<Null> deleteUserWithGoogle(FirebaseUser user) async { | |
await user.delete(); | |
await logoutWithGoogle(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment