ReactionTypeEmoji.fromJson constructor

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

Creates a ReactionTypeEmoji object from JSON object

Implementation

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