getExpirationDate static method

DateTime? getExpirationDate(
  1. String token
)

Returns token expiration date

Implementation

static DateTime? getExpirationDate(String token) {
  return _getDate(token: token, claim: 'exp');
}