hasToken method

bool hasToken()

检查是否有Token

Implementation

bool hasToken() {
  return getToken() != null && getToken()!.isNotEmpty;
}