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