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