accessTokenExpiryDate property
DateTime
get
accessTokenExpiryDate
Calculate the date of expiration for the access token.
If access token has expired, the refresh token should be used in order to acquire a new access token.
Implementation
DateTime get accessTokenExpiryDate {
Duration durationLeft = new Duration(seconds: expiresIn);
DateTime expiryDate = issuedDate.add(durationLeft);
return expiryDate;
}