PageBlockCaption.fromJson constructor
Parses a PageBlockCaption from TDLib JSON.
Implementation
factory PageBlockCaption.fromJson(Map<String, dynamic> json) =>
PageBlockCaption(
text: _readObject(json['text'], RichText.fromJson),
credit: _readObject(json['credit'], RichText.fromJson),
);