ttl property

Duration? ttl
final

Duration after which the data should be considered stale. Stale data will not be returned, and will be deleted when requested. There is no other periodic process to remove stale data - if it is never requested again, it will remain in storage indefinitely.

A null value indicates that the data should never expire.

Implementation

final Duration? ttl;