isSignedIn static method
Queries whether Firebase Auth is logged in.
Implementation
static bool isSignedIn() {
final FirebaseAuth auth = FirebaseAuth.instance;
if (auth.currentUser != null) {
return true;
} else {
return false;
}
}
Queries whether Firebase Auth is logged in.
static bool isSignedIn() {
final FirebaseAuth auth = FirebaseAuth.instance;
if (auth.currentUser != null) {
return true;
} else {
return false;
}
}