DocumentFragment.html(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer})

Source

factory DocumentFragment.html(String html,
    {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) {

  return document.body.createFragment(html,
    validator: validator, treeSanitizer: treeSanitizer);
}