getBool method
Get the boolean value associated with the specified key. Added for better integration with SharedPreferences
Implementation
bool? getBool(String key, {bool? defaultValue}) {
assert(_key != null);
return _decorator.getBool(key, defaultValue: defaultValue);
}