disconnect method

Future<void> disconnect()

Disconnects the current user from the app and revokes previous authentication.

Implementation

Future<void> disconnect() async {
  await signOut();
  // Disconnect from Facebook
  await _facebookAuth?.logOut();
  // // Disconnect from Twitter
  // await _twitterLogin?.logOut();
  // Disconnect from Google
  if (_mobGoogleSignIn?.currentUser != null) {
    await _mobGoogleSignIn?.disconnect();
  }
}