replaceChild method
Implementation
@nonVirtual
@override
dom.Node? replaceChild(dom.Node newNode, dom.Node oldNode) {
dom.Node? replaced = super.replaceChild(newNode, oldNode);
if (_state != null) {
_state!.markChildrenNeedsUpdate();
}
return replaced;
}