signOut method

Future<void> signOut()

Implementation

Future<void> signOut() async {
  try {
    await _auth.signOut();
    await _googleSignIn.signOut();
    await FacebookAuth.instance.logOut();
    // No need to explicitly sign out from Apple, GitHub, Phone, Anonymous, or Microsoft
  } catch (e) {
    print(e.toString());
  }
}