PageBlockDocument.fromJson constructor
Parses a PageBlockDocument from TDLib JSON.
Implementation
factory PageBlockDocument.fromJson(Map<String, dynamic> json) =>
PageBlockDocument(
document: _readObject(json['document'], Document.fromJson),
caption: _readOptional(json['caption'], PageBlockCaption.fromJson),
);