toJson method

Map<String, dynamic> toJson()

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,
  };
}