PageBlockListItem.fromJson constructor
Parses a PageBlockListItem from TDLib JSON.
Implementation
factory PageBlockListItem.fromJson(Map<String, dynamic> json) =>
PageBlockListItem(
label: _readString(json['label']),
pageBlocks: _readList<PageBlock>(
json['page_blocks'], (e) => _readObject(e, PageBlock.fromJson)),
);