@override bool removeChildFromElement(Node parent, Node? child) { if (parent is Element) { return parent.children.remove(child); } return false; }