TouchedExpiryPolicy constructor Null safety

const TouchedExpiryPolicy(
  1. Duration _expiryDuration
)

Builds an TouchedExpiryPolicy ExpiryPolicy

  • _expiryDuration: the Duration a Cache Entry should exist be before it expires after being modified

Implementation

const TouchedExpiryPolicy(this._expiryDuration);