setChildrenIndexWithParentNode method
void
setChildrenIndexWithParentNode(
- ContainerNode parent,
- Element current,
- String selectorName,
- int index,
Implementation
void setChildrenIndexWithParentNode(ContainerNode parent, Element current, String selectorName, int index) {
if (!_cacheElementIndex.containsKey(parent)) {
_cacheElementIndex[parent] = {};
}
int key = hash2(current.hashCode, selectorName);
_cacheElementIndex[parent]![key] = index;
}