toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'editInlineMessageCaption',
if (extra != null) '@extra': extra,
'inline_message_id': inline_message_id,
'reply_markup': reply_markup,
'caption': caption
};
}