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