RichTextLeafText.fromJson constructor

RichTextLeafText.fromJson(
  1. JSONMap json
)

Implementation

factory RichTextLeafText.fromJson(JSONMap json) => RichTextLeafText(
      text: json["text"],
      marks: RichTextLeafMarkable.marksFromJson(json),
    );