remove static method

void remove(
  1. String key
)

Removes a value from storage synchronously. Note: The actual removal from disk happens asynchronously in the background.

Implementation

static void remove(String key) {
  _ensureInitialized();
  _prefs!.remove(key);
}