signOut method
Implementation
Future<void> signOut(BuildContext context) async {
Navigator.of(context).popUntil((route) => route.isFirst);
_log("Signing Out");
try {
await FirebaseAuth.instance.signOut();
} catch (e, es) {
error("Failed to sign out of Firebase $e $es");
}
try {
await gsi.GoogleSignIn.standard().signOut();
} catch (e) {}
_logSuccess("Successfully Signed Out");
}