clearCache method
Clear every cache and reset iLib to not-ready; loadJSON must run again before reading data. For reclaiming all memory and isolating test state. The asset manifest is kept, as it never changes.
Implementation
@visibleForTesting
void clearCache() {
_localeDataMap.clear();
_fileDataCache.clear();
_lastLoadedLocale = null;
_iLibPrepared = false;
}