PageBlockEmbedded.fromJson constructor
Parse from a json
Implementation
factory PageBlockEmbedded.fromJson(Map<String, dynamic> json) => PageBlockEmbedded(
url: json['url'],
html: json['html'],
posterPhoto: json['poster_photo'] == null ? null : Photo.fromJson(json['poster_photo']),
width: json['width'],
height: json['height'],
caption: PageBlockCaption.fromJson(json['caption']),
isFullWidth: json['is_full_width'],
allowScrolling: json['allow_scrolling'],
);