PageBlockList.fromJson constructor

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

Parses a PageBlockList from TDLib JSON.

Implementation

factory PageBlockList.fromJson(Map<String, dynamic> json) => PageBlockList(
      items: _readList<PageBlockListItem>(
          json['items'], (e) => _readObject(e, PageBlockListItem.fromJson)),
    );