ModifiedExpiryPolicy constructor Null safety

const ModifiedExpiryPolicy(
  1. Duration _expiryDuration
)

Builds a ModifiedExpiryPolicy ExpiryPolicy

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

Implementation

const ModifiedExpiryPolicy(this._expiryDuration);