ReactionTypeCustomEmoji.fromJson constructor

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

Parse from a json

Implementation

factory ReactionTypeCustomEmoji.fromJson(Map<String, dynamic> json) =>
    ReactionTypeCustomEmoji(
      customEmojiId: int.parse(json['custom_emoji_id']),
    );