removeChild method
Implementation
@override
@mustCallSuper
Node removeChild(Node child) {
if (enableWebFProfileTracking) {
WebFProfiler.instance.startTrackUICommandStep('Element.removeChild');
}
super.removeChild(child);
// Update renderStyle tree.
if (child is Element) {
child.renderStyle.detach();
}
if (enableWebFProfileTracking) {
WebFProfiler.instance.finishTrackUICommandStep();
}
return child;
}