updateBoolValue method

Future<void> updateBoolValue(
  1. String key,
  2. bool newValue
)

Implementation

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