getChildrenIndexFromCache method

int? getChildrenIndexFromCache(
  1. ContainerNode parent,
  2. Element current,
  3. String selectorName
)

Implementation

int? getChildrenIndexFromCache(ContainerNode parent, Element current, String selectorName) {
  if (!_cacheElementIndex.containsKey(parent)) {
    return null;
  }
  int key = hash2(current.hashCode, selectorName);
  return _cacheElementIndex[parent]![key];
}