AccessedExpiryPolicy constructor Null safety

const AccessedExpiryPolicy(
  1. Duration _expiryDuration
)

Builds a AccessedExpiryPolicy ExpiryPolicy

  • _expiryDuration: the Duration a cache entry should exist before it expires after being accessed

Implementation

const AccessedExpiryPolicy(this._expiryDuration);