nodeWhere<T extends DOMNode> method
Implementation
T? nodeWhere<T extends DOMNode>(Object? selector) {
if (selector == null || isEmptyContent) return null;
bool Function(DOMNode) nodeSelector = asNodeSelector(selector)!;
return _content!.firstWhereOrNull(nodeSelector) as T?;
}