setBool method

  1. @override
Future<bool> setBool(
  1. String key,
  2. bool? value
)
override

Implementation

@override
Future<bool> setBool(String key, bool? value) async {
  final map = await read();
  map[key] = value;
  return await write(WriteData(map: map, updatedKey: key));
}