ttl property

int get ttl

Implementation

int get ttl => maxTTL - DateTime.now().difference(updated).inSeconds;