setBool method
Set the boolean value for the specified key in SharedPreferences. Added for better integration with SharedPreferences
Implementation
Future<bool> setBool(String dataKey, bool? dataValue,
{bool notify = true}) async {
assert(_key != null);
return _decorator.setBool(dataKey, dataValue, notify: notify);
}