toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'getAllStickerEmojis',
if (extra != null) '@extra': extra,
'sticker_type': sticker_type,
'query': query,
'chat_id': chat_id,
'return_only_main_emoji': return_only_main_emoji
};
}