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