InputPageBlockTable.fromJson constructor
Parses a InputPageBlockTable from TDLib JSON.
Implementation
factory InputPageBlockTable.fromJson(Map<String, dynamic> json) =>
InputPageBlockTable(
caption: _readObject(json['caption'], RichText.fromJson),
cells: _readList<List<PageBlockTableCell>>(
json['cells'],
(e) => _readList<PageBlockTableCell>(
e,
(e1) => _readObject(e1, PageBlockTableCell.fromJson),
),
),
isBordered: _readBool(json['is_bordered']),
isStriped: _readBool(json['is_striped']),
isCompact: _readBool(json['is_compact']),
);