ttl property Null safety

int? ttl
read / write

The TTL (in seconds) for which to cache responses with the corresponding status code.

The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.

Implementation

core.int? ttl;