toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (length != null) 'length': length!,
if (richLinkMetadata != null) 'richLinkMetadata': richLinkMetadata!,
if (slashCommand != null) 'slashCommand': slashCommand!,
if (startIndex != null) 'startIndex': startIndex!,
if (type != null) 'type': type!,
if (userMention != null) 'userMention': userMention!,
};