clearCache method

void clearCache()

Clears only the cached value.

Implementation

void clearCache() {
  _cachedItem = null;
  _isItemFetched = false;
}