updateInfoFields method
void
updateInfoFields({})
override
Updates the Info fields
expiryTime
: The cache expiry timehitCount
: The cache hit countaccessTime
: The cache access timeupdateTime
: The cache update time
Implementation
@override
void updateInfoFields({
DateTime? expiryTime,
int? hitCount,
DateTime? accessTime,
DateTime? updateTime,
}) {
super.updateInfoFields(accessTime: accessTime, updateTime: updateTime);
info.expiryTime = expiryTime ?? info.expiryTime;
info.hitCount = hitCount ?? info.hitCount;
}