itemKeysOf method

List<K> itemKeysOf(
  1. K sectionKey
)

Item keys under sectionKey in render order, EXCLUDING pending-deletion.

Implementation

List<K> itemKeysOf(K sectionKey) {
  _checkNotDisposed();
  final children = _tree.getLiveChildren(SectionKey<K>(sectionKey));
  if (children.isEmpty) {
    return const [];
  }
  return <K>[
    for (final k in children)
      if (_assertIsItem(k)) (k as ItemKey<K>).value,
  ];
}