toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'inputInlineQueryResultVoiceNote',
if (extra != null) '@extra': extra,
'id': id,
'title': title,
'voice_note_url': voice_note_url,
'voice_note_duration': voice_note_duration,
'reply_markup': reply_markup,
'input_message_content': input_message_content
};
}