validateKey method
Validate data integrity for a specific key Returns true if data can be successfully decrypted
Implementation
Future<bool> validateKey(String key) async {
_checkInit();
try {
final value = await getString(key);
return value != null;
} catch (e) {
return false;
}
}