flutter on logout remove the user from authentication firebase code example
Example 1: how to sign out user in flutter with firebase authentication
final FirebaseAuth _auth = FirebaseAuth.instance;
Future _signOut() async {
await _auth.signOut();
}
Example 2: how to sign out user in flutter with firebase authentication
final FirebaseAuth _auth = FirebaseAuth.instance;
Future _signOut() async {
await _auth.signOut();
await _googleSignIn.signOut();
}