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