nodeEquals<T extends DOMNode> method
Returns a node T
that is equals to node
.
Implementation
T? nodeEquals<T extends DOMNode>(DOMNode? node) {
if (node == null || isEmptyContent) return null;
return nodeWhere((n) => n == node);
}