PageBlockListItem.fromJson constructor

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

Parse from a json

Implementation

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