setBool method

  1. @override
Future<void> setBool(
  1. String key,
  2. bool value, {
  3. SharedPreferencesPlusOptions options = const SharedPreferencesPlusOptions(),
})
override

Persists a boolean value for key.

Implementation

@override
Future<void> setBool(
  String key,
  bool value, {
  SharedPreferencesPlusOptions options = const SharedPreferencesPlusOptions(),
}) => _set(key, value, options);