isLoggedIn static method

Future<bool> isLoggedIn()

Check if user is currently logged in.

Implementation

static Future<bool> isLoggedIn() async {
  final webId = await AuthDataManager.getWebId();
  return webId != null && webId.isNotEmpty;
}