isAuthenticated property
Returns true
if a user is authenticated (user and token are present), false
otherwise.
Implementation
bool get isAuthenticated => _user != null && _token != null;
Returns true
if a user is authenticated (user and token are present), false
otherwise.
bool get isAuthenticated => _user != null && _token != null;