DocumentFragment.html 构造函数
- String? html,
- {NodeValidator? validator,
- NodeTreeSanitizer? treeSanitizer}
实现
factory DocumentFragment.html(String? html,
{NodeValidator? validator, NodeTreeSanitizer? treeSanitizer}) {
return document.body!.createFragment(html,
validator: validator, treeSanitizer: treeSanitizer);
}