RichTextAnchorLink.fromJson constructor

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

Parse from a json

Implementation

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