PageBlockDetails.fromJson constructor
Parse from a json
Implementation
factory PageBlockDetails.fromJson(Map<String, dynamic> json) =>
PageBlockDetails(
header: RichText.fromJson(json['header']),
pageBlocks: List<PageBlock>.from((json['page_blocks'] ?? [])
.map((item) => PageBlock.fromJson(item))
.toList()),
isOpen: json['is_open'],
);