toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'updateUnreadMessageCount',
if (extra != null) '@extra': extra,
'chat_list': chat_list,
'unread_count': unread_count,
'unread_unmuted_count': unread_unmuted_count
};
}