refresh method
Calls refresh on its child and restarts the internal Timer.
After refresh, the cache is considered valid.
The returned value should be the new cache value.
See also:
- CachedValue.refresh for the general behavior of refresh.
Implementation
@override
CacheContentType refresh() {
final newValue = super.refresh();
_startLifeAgain();
return newValue;
}