DocumentFragment.svg 构造函数

DocumentFragment.svg(
  1. String? svgContent,
  2. {NodeValidator? validator,
  3. NodeTreeSanitizer? treeSanitizer}}
)

实现

factory DocumentFragment.svg(String? svgContent,
    {NodeValidator? validator, NodeTreeSanitizer? treeSanitizer}) {
  return new svg.SvgSvgElement().createFragment(svgContent,
      validator: validator, treeSanitizer: treeSanitizer);
}