putBool abstract method

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

Stores a boolean value under the key, replacing any existing value. @param key Key to set. @param value Value to store.

Dart code snippet: @snippet storage_manager_example.dart dart_KeyValueStorage_putBool

Implementation

void putBool(String key, bool value);