hasValidAccessToken method

bool hasValidAccessToken()

Check if Access Token is set and not expired.

Implementation

bool hasValidAccessToken() {
  return accessToken != null &&
      expireTimeStamp != null &&
      expireTimeStamp!.isAfter(DateTime.now().toUtc());
}