fromJson static method
Implementation
static Document? fromJson(dynamic richTextJson) {
if (richTextJson == null) {
return null;
}
return Document(
content: richTextJson['content'],
nodeType: richTextJson['nodeType'],
data: richTextJson['data'],
);
}