toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'width': width,
'height': height,
'html': html,
'public_data': publicData,
'chat_data': chatData,
'widget_id': widgetId.toString(),
'caption': caption.toJson(),
'show_caption_above_media': showCaptionAboveMedia,
'is_copy': isCopy,
'can_send_queries': canSendQueries,
'can_send_background_queries': canSendBackgroundQueries,
'@type': constructor,
};