RichTextReference.fromJson constructor

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

Parse from a json

Implementation

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