PageBlockList.fromJson constructor

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

Parse from a json

Implementation

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