toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'archiveChatListSettings',
if (extra != null) '@extra': extra,
'archive_and_mute_new_chats_from_unknown_users':
archive_and_mute_new_chats_from_unknown_users,
'keep_unmuted_chats_archived': keep_unmuted_chats_archived,
'keep_chats_from_folders_archived': keep_chats_from_folders_archived
};
}