toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customEmojiMetadata = this.customEmojiMetadata;
  final length = this.length;
  final richLinkMetadata = this.richLinkMetadata;
  final slashCommand = this.slashCommand;
  final startIndex = this.startIndex;
  final type = this.type;
  final userMention = this.userMention;
  return {
    'customEmojiMetadata': ?customEmojiMetadata,
    'length': ?length,
    'richLinkMetadata': ?richLinkMetadata,
    'slashCommand': ?slashCommand,
    'startIndex': ?startIndex,
    'type': ?type,
    'userMention': ?userMention,
  };
}