CreatedExpiryPolicy constructor Null safety

const CreatedExpiryPolicy(
  1. Duration _expiryDuration
)

Builds a CreatedExpiryPolicy ExpiryPolicy

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

Implementation

const CreatedExpiryPolicy(this._expiryDuration);