hasToken method

  1. @override
bool hasToken()
override

@returns True if a JWT token has been set previously. False otherwise.

Implementation

@override
bool hasToken() {
  return authState?.token != null;
}