toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"period": period.toJson(),
"member_count": memberCount.toJson(),
"message_count": messageCount.toJson(),
"viewer_count": viewerCount.toJson(),
"sender_count": senderCount.toJson(),
"member_count_graph": memberCountGraph.toJson(),
"join_graph": joinGraph.toJson(),
"join_by_source_graph": joinBySourceGraph.toJson(),
"language_graph": languageGraph.toJson(),
"message_content_graph": messageContentGraph.toJson(),
"action_graph": actionGraph.toJson(),
"day_graph": dayGraph.toJson(),
"week_graph": weekGraph.toJson(),
"top_senders": topSenders.map((i) => i.toJson()).toList(),
"top_administrators": topAdministrators.map((i) => i.toJson()).toList(),
"top_inviters": topInviters.map((i) => i.toJson()).toList(),
};
}