CacheEntry.loaded constructor
CacheEntry.loaded(})
Creates a loaded CacheEntry
key: The cache keycreationTime: The cache creation timeexpiryTime: The cache expiry timevalue: The cache valueaccessTime: The cache access timeupdateTime: The cache update timehitCount: The cache hit count
Implementation
CacheEntry.loaded(
String key, DateTime creationTime, DateTime expiryTime, dynamic value,
{DateTime? accessTime, DateTime? updateTime, int? hitCount})
: this._(
CacheInfo(key, creationTime, expiryTime,
hitCount: hitCount,
accessTime: accessTime,
updateTime: updateTime),
value,
EntryState.loaded);