toJson method

  1. @override
Map<String, dynamic> toJson()
override

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,
    };