bodyElement property
BodyElement?
get
bodyElement
Implementation
BodyElement? get bodyElement {
final HTMLElement? root = _documentElement;
if (root == null) return null;
Node? child = root.firstChild;
while (child != null) {
if (child is BodyElement) {
return child;
}
child = child.nextSibling;
}
return null;
}