isValid property
bool
get
isValid
Check if the cache entry is still valid
Implementation
bool get isValid => DateTime.now().isBefore(expiresAt);
Check if the cache entry is still valid
bool get isValid => DateTime.now().isBefore(expiresAt);