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