setBool method

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

Implementation

Future<void> setBool(String key, bool value) async {
  await _ensureInitialized();
  final box = _getBoxForKey(key);
  await box.put(key, value);
}