value property

  1. @override
CacheContentType value
override

Access the current cache value.

If the cache is considered invalid, calls refresh.

Implementation

@override
CacheContentType get value {
  if (!isValid) {
    return refresh();
  }
  return super.value;
}