catchNodesWhere<T extends DOMNode> method
Implementation
void catchNodesWhere<T extends DOMNode>(Object? selector, List<T> destiny) {
if (selector == null || isEmptyContent) return;
var nodeSelector = asNodeSelector(selector)!;
var nodes = _content!.where(nodeSelector).whereType<T>();
destiny.addAll(nodes);
}