resetGetMemoryFilesCache method

void resetGetMemoryFilesCache({
  1. String reason = 'session_start',
})

Resets the cache and marks hooks as needing to fire.

Implementation

void resetGetMemoryFilesCache({String reason = 'session_start'}) {
  _nextEagerLoadReason = reason;
  _shouldFireHook = true;
  clearMemoryFileCaches();
}