isLoggedIn property

bool get isLoggedIn

Whether a non-empty token is currently stored.

Implementation

bool get isLoggedIn => token != null;