isLoggedIn property

Future<bool> get isLoggedIn

whether anyone is logged in, used to switch whether to show the login screen or the main view

Implementation

Future<bool> get isLoggedIn async => await API().isAnyoneLoggedIn;