CacheEntry constructor Null safety

CacheEntry(
  1. String key,
  2. dynamic value,
  3. DateTime expiryTime,
  4. DateTime creationTime,
  5. {DateTime? accessTime,
  6. DateTime? updateTime,
  7. int? hitCount}
)

Implementation

CacheEntry(
    String key, dynamic value, DateTime expiryTime, DateTime creationTime,
    {DateTime? accessTime, DateTime? updateTime, int? hitCount})
    : this._(key, value, expiryTime, creationTime, null,
          accessTime: accessTime, updateTime: updateTime, hitCount: hitCount);