getCacheExpiryTime method

int? getCacheExpiryTime(
  1. String atSign
)

Returns the expiry time of this entry in millisecondsSinceEpoch, or null if this atSign is not in cache

Implementation

int? getCacheExpiryTime(String atSign) {
  atSign = stripAtSignFromAtSign(atSign);
  if (_map.containsKey(atSign)) {
    return _map[atSign]!.expiresAt;
  } else {
    return null;
  }
}