RichTextAnchorLink.fromJson constructor

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

Parses a RichTextAnchorLink from TDLib JSON.

Implementation

factory RichTextAnchorLink.fromJson(Map<String, dynamic> json) =>
    RichTextAnchorLink(
      text: _readObject(json['text'], RichText.fromJson),
      anchorName: _readString(json['anchor_name']),
      url: _readString(json['url']),
    );