updateCache method

void updateCache()

After calling this function the cached object will be (lazily) re-initialized when it is next accessed.

Implementation

void updateCache() {
  _isUpToDate = false;
}