rootElement property
SVGSVGElement?
get
rootElement
Document.rootElement returns the Element
that is the root element of the document if it is an
element, otherwise null. It is deprecated in favor of
Document.documentElement, which returns the root element for all
documents.
Implementation
external SVGSVGElement? get rootElement;