toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final attachments = this.attachments;
final payload = this.payload;
final protocol = this.protocol;
return {
'attachments': ?attachments,
'payload': ?payload,
'protocol': ?protocol,
};
}