indexOfNodeIdentical method
Implementation
int indexOfNodeIdentical(DOMNode node) {
if (isEmptyContent) return -1;
for (var i = 0; i < _content!.length; i++) {
var child = _content![i];
if (identical(node, child)) return i;
}
return -1;
}