firstChildNode property

Node? get firstChildNode

Implementation

web.Node? get firstChildNode {
  for (var child = _firstChild; child != null; child = child.nextSibling) {
    final node = child is DomRenderFragment ? child.firstChildNode : child.node;
    if (node != null || child == _lastChild) {
      return node;
    }
  }

  return null;
}