setBool method

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

Implementation

Future<void> setBool(String key, bool value) async {
  final prefs = await asyncPrefs;
  await prefs.setBool(key, value);
}