Returns the index of node.
node
int indexOfNode(DOMNode node) { if (isEmptyContent) return -1; return _content!.indexOf(node); }