toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'inputInlineQueryResultSticker',
if (extra != null) '@extra': extra,
'id': id,
'thumbnail_url': thumbnail_url,
'sticker_url': sticker_url,
'sticker_width': sticker_width,
'sticker_height': sticker_height,
'reply_markup': reply_markup,
'input_message_content': input_message_content
};
}