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