Parse from a json
factory RichTextMarked.fromJson(Map<String, dynamic> json) => RichTextMarked( text: RichText.fromJson(json['text']), );