isSignedIn static method

bool isSignedIn()

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;
  }
}