getBool method
Implementation
@override
Future<bool?> getBool(String key, [bool enableEncryption = false]) {
bool? value = bool.tryParse(_getItem(key));
if (value == null) {
throw Exception('REFERENCE_ERROR');
} else {
return Future<bool?>.value(value);
}
}