snapshot static method
Returns the current SharedPreferences entries without emitting read logs.
This is intended for diagnostics such as loadStorageEntries, where
instrumented reads would otherwise pollute the storage operation history.
Implementation
static Map<String, Object?> snapshot() {
_ensureInitialized();
return {
for (final key in _prefs.getKeys()) key: _prefs.get(key),
};
}