RichTextContainerCode.fromJson constructor
RichTextContainerCode.fromJson(
- JSONMap json
Implementation
factory RichTextContainerCode.fromJson(JSONMap json) => RichTextContainerCode(
codeLanguage: json["attrs"]["class"],
content: List<JSONMap>.from(json["content"]).map(RichTextLeaf.fromJson).toList(),
);