reset static method

void reset()

Resets the cached SharedPreferences instance and initialization state.

Useful for testing or after clearing all preferences to ensure the next call fetches a fresh instance.

Implementation

static void reset() {
  _prefs = null;
  _initFuture = null;
}