ReactionCount.fromJson constructor
Creates a ReactionCount object from JSON object.
Implementation
factory ReactionCount.fromJson(Map<String, dynamic> json) {
return ReactionCount(
type: ReactionType.fromJson(json['type']),
totalCount: json['total_count'],
);
}