hasToken static method

bool hasToken()

True when an auth token is saved (logged in). home: ULocalStorage.hasToken() ? HomePage() : LoginPage()

Implementation

static bool hasToken() => getToken() != null;