hasTokenExpired static method

bool hasTokenExpired(
  1. String token
)

Implementation

static bool hasTokenExpired(String token) {
  if (token.isEmpty) {
    return true;
  }
  bool hasExpired = JwtDecoder.isExpired(token);
  return hasExpired;
}