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