isAuthenticated property

bool get isAuthenticated

Returns true if a user is authenticated (user and token are present), false otherwise.

Implementation

bool get isAuthenticated => _user != null && _token != null;