checkUserLoggedin static method
Implementation
static Future<bool> checkUserLoggedin(BuildContext context) async {
User? user = FirebaseAuth.instance.currentUser;
if (user != null)
return true;
else
return false;
}
static Future<bool> checkUserLoggedin(BuildContext context) async {
User? user = FirebaseAuth.instance.currentUser;
if (user != null)
return true;
else
return false;
}