ReactionTypeCustomEmoji.fromJson constructor

ReactionTypeCustomEmoji.fromJson(
  1. Map<String, dynamic> json
)

Creates a ReactionTypeCustomEmoji object from JSON object

Implementation

factory ReactionTypeCustomEmoji.fromJson(Map<String, dynamic> json) {
  return ReactionTypeCustomEmoji(
    customEmojiId: json['custom_emoji_id']!,
  );
}