@override List<Node> getElementNodes(Node? element) { if (element is Element) { return List.from(element.nodes); } return <Node>[]; }