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