isValid property

bool isValid

Check the current state of the cache.

On CachedValue.simple caches it only checks if invalidate has been called.

On CachedValue.dependent caches it also checks if teh result of the dependency callback has changed.

Implementation

bool get isValid;