hasToken static method
True when an auth token is saved (logged in). home: ULocalStorage.hasToken() ? HomePage() : LoginPage()
Implementation
static bool hasToken() => getToken() != null;
True when an auth token is saved (logged in). home: ULocalStorage.hasToken() ? HomePage() : LoginPage()
static bool hasToken() => getToken() != null;