fromHtml static method

dynamic fromHtml(
  1. String content, {
  2. dynamic codec,
})

Implementation

static Document fromHtml(
  String content, {
  AppFlowyEditorHTMLCodec? codec,
}) {
  return (codec ?? defaultHtmlCodec).decode(content);
}