Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
flutter_auth_tut
//...
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
You can’t perform that action at this time.