toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_ids': chatIds.map((item) => item).toList(),
'excluded_chat_ids': excludedChatIds.map((item) => item).toList(),
'select_existing_chats': selectExistingChats,
'select_new_chats': selectNewChats,
'select_contacts': selectContacts,
'select_non_contacts': selectNonContacts,
'exclude_selected': excludeSelected,
'@type': constructor,
};