isAlwaysFresh property

bool get isAlwaysFresh

Returns true if no expiration has been set, meaning the cache will never expire.

Implementation

bool get isAlwaysFresh => expiration == null;