isExpired static method

bool isExpired(
  1. Token? token
)

Implementation

static bool isExpired(Token? token) {
  return token?.expireTimeStamp?.isBefore(DateTime.now().toUtc()) ?? true;
}