PageBlockSlideshow.fromJson constructor

PageBlockSlideshow.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory PageBlockSlideshow.fromJson(Map<String, dynamic> json) => PageBlockSlideshow(
  pageBlocks: List<PageBlock>.from((json['page_blocks'] ?? []).map((item) => PageBlock.fromJson(item)).toList()),
  caption: PageBlockCaption.fromJson(json['caption']),
);