readBool method
Implementation
Future<bool?> readBool({required String key, bool isEncrypted = true}) async {
final stringValue = await readString(key: key, isEncrypted: isEncrypted);
if (stringValue != null) {
return stringValue.toLowerCase() == 'true';
}
return null;
}