toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accessoryWidgets = this.accessoryWidgets;
  final actionResponse = this.actionResponse;
  final annotations = this.annotations;
  final argumentText = this.argumentText;
  final attachedGifs = this.attachedGifs;
  final attachment = this.attachment;
  final cards = this.cards;
  final cardsV2 = this.cardsV2;
  final clientAssignedMessageId = this.clientAssignedMessageId;
  final createTime = this.createTime;
  final deleteTime = this.deleteTime;
  final deletionMetadata = this.deletionMetadata;
  final emojiReactionSummaries = this.emojiReactionSummaries;
  final fallbackText = this.fallbackText;
  final formattedText = this.formattedText;
  final lastUpdateTime = this.lastUpdateTime;
  final matchedUrl = this.matchedUrl;
  final name = this.name;
  final privateMessageViewer = this.privateMessageViewer;
  final quotedMessageMetadata = this.quotedMessageMetadata;
  final sender = this.sender;
  final slashCommand = this.slashCommand;
  final space = this.space;
  final text = this.text;
  final thread = this.thread;
  final threadReply = this.threadReply;
  return {
    'accessoryWidgets': ?accessoryWidgets,
    'actionResponse': ?actionResponse,
    'annotations': ?annotations,
    'argumentText': ?argumentText,
    'attachedGifs': ?attachedGifs,
    'attachment': ?attachment,
    'cards': ?cards,
    'cardsV2': ?cardsV2,
    'clientAssignedMessageId': ?clientAssignedMessageId,
    'createTime': ?createTime,
    'deleteTime': ?deleteTime,
    'deletionMetadata': ?deletionMetadata,
    'emojiReactionSummaries': ?emojiReactionSummaries,
    'fallbackText': ?fallbackText,
    'formattedText': ?formattedText,
    'lastUpdateTime': ?lastUpdateTime,
    'matchedUrl': ?matchedUrl,
    'name': ?name,
    'privateMessageViewer': ?privateMessageViewer,
    'quotedMessageMetadata': ?quotedMessageMetadata,
    'sender': ?sender,
    'slashCommand': ?slashCommand,
    'space': ?space,
    'text': ?text,
    'thread': ?thread,
    'threadReply': ?threadReply,
  };
}