invalidate abstract method

void invalidate()

Marks the cache as invalid.

This means that the cached value will be considered outdated and next time value is accessed, refresh will be called.

Calling this on a subclass of SingleChildCachedValue makes the child also invalid.

Implementation

void invalidate();