mirrored_repositories/coder_status/lib
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter_phoenix/flutter_phoenix.dart';
import 'package:google_sign_in/google_sign_in.dart';

logout(context) async {
  FirebaseAuth _auth = FirebaseAuth.instance;

  try {
    GoogleSignIn().disconnect();
    await _auth.signOut();
    Phoenix.rebirth(context);
  } catch (e) {
    print(e);
  }
}
