toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'chatStatisticsSupergroup',
if (extra != null) '@extra': extra,
'period': period,
'member_count': member_count,
'message_count': message_count,
'viewer_count': viewer_count,
'sender_count': sender_count,
'member_count_graph': member_count_graph,
'join_graph': join_graph,
'join_by_source_graph': join_by_source_graph,
'language_graph': language_graph,
'message_content_graph': message_content_graph,
'action_graph': action_graph,
'day_graph': day_graph,
'week_graph': week_graph,
'top_senders': top_senders,
'top_administrators': top_administrators,
'top_inviters': top_inviters
};
}