commitToCache method

void commitToCache()

Commits this entry to the cache.

This should be called after configuring the entry to ensure it's properly added to the cache with all settings applied.

Implementation

void commitToCache() {
  if (this is CacheEntryInternal) {
    final impl = this as CacheEntryInternal;
    impl.onFinalizeEntry(impl);
  }
}