clear static method

void clear()

Clears all data from storage synchronously. Note: The actual clearing from disk happens asynchronously in the background.

Implementation

static void clear() {
  _ensureInitialized();
  _prefs!.clear();
}