toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'url': url,
'html': html,
'poster_photo': posterPhoto?.toJson(),
'width': width,
'height': height,
'caption': caption?.toJson(),
'is_full_width': isFullWidth,
'allow_scrolling': allowScrolling,
'@type': constructor,
};