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 logoutWithGoogle();
await user.delete();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment