CacheInfo constructor
CacheInfo(})
Builds a CacheInfo
key: The cache keycreationTime: The cache creation timeexpiryTime: The cache expiry timehitCount: The cache hit countaccessTime: The cache access timeupdateTime: The cache update time
Implementation
CacheInfo(super.key, super.creationTime, this.expiryTime,
{int? hitCount, super.accessTime, super.updateTime})
: assert(hitCount == null || hitCount >= 0),
hitCount = hitCount ?? 0;