ChatMessageReaction.fromJson constructor 
    
      
      ChatMessageReaction.fromJson( - Map map
 
)
    
    
    
  Implementation
  factory ChatMessageReaction.fromJson(Map map) {
  String reaction = map["reaction"];
  int count = map["count"];
  bool isAddedBySelf = map["isAddedBySelf"] ?? false;
  List<String> userList = [];
  List<String>? tmp = map.getList("userList");
  if (tmp != null) {
    userList.addAll(tmp);
  }
  return ChatMessageReaction._private(
    reaction: reaction,
    userCount: count,
    isAddedBySelf: isAddedBySelf,
    userList: userList,
  );
}