setBool method

void setBool(
  1. String key,
  2. bool value
)

Sets a boolean flag. Observations and builders of key update, and getters return value. Throws a StateError after shutdown

Implementation

void setBool(String key, bool value) => _backend.set(key, StoredBool(value));