indexOfItem method
Position of itemKey among its section's children in
live-list space (skipping pending-deletion siblings). Returns
-1 when itemKey is not present, is itself pending-deletion, or
is not an item.
Implementation
int indexOfItem(K itemKey) {
_checkNotDisposed();
return _tree.getIndexInParent(ItemKey<K>(itemKey));
}