UnreadReaction.fromJson constructor

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

Parse from a json

Implementation

factory UnreadReaction.fromJson(Map<String, dynamic> json) => UnreadReaction(
      type: ReactionType.fromJson(json['type']),
      senderId: MessageSender.fromJson(json['sender_id']),
      isBig: json['is_big'],
    );