fromJson static method
Implementation
static InteractionApplicationCommandCallbackData fromJson(
Map<String, dynamic> json,
) {
return InteractionApplicationCommandCallbackData(
tts: json['tts'],
content: json['content'],
embeds: fromArray(Embed.fromJson, json['embeds']),
allowedMentions: ifNotNull(
AllowedMentions.fromJson,
json['allowed_mentions'],
),
flags: json['flags'],
);
}