hasValidAccessToken method
Check if Access Token is set and not expired.
Implementation
bool hasValidAccessToken() {
return accessToken != null &&
expireTimeStamp != null &&
expireTimeStamp!.isAfter(DateTime.now().toUtc());
}
Check if Access Token is set and not expired.
bool hasValidAccessToken() {
return accessToken != null &&
expireTimeStamp != null &&
expireTimeStamp!.isAfter(DateTime.now().toUtc());
}