removeFlag method

void removeFlag(
  1. String key
)

Removes the flag, so every read and observation of key returns its own default value. This differs from setJson(key, null), which sets a JSON flag whose value is null. Throws a StateError after shutdown

Implementation

void removeFlag(String key) => _backend.set(key, null);