isEncryptedMessage function
Implementation
bool isEncryptedMessage(dynamic message) {
var asMap = credentialToMap(message);
return encryptedMessageSchema.validate(asMap).isValid;
}
bool isEncryptedMessage(dynamic message) {
var asMap = credentialToMap(message);
return encryptedMessageSchema.validate(asMap).isValid;
}