isValid property

bool get isValid

Check if the cache entry is still valid

Implementation

bool get isValid => DateTime.now().isBefore(expiresAt);