allItemKeysOf method

List<K> allItemKeysOf(
  1. K sectionKey
)

All item keys under sectionKey in render order, INCLUDING pending-deletion.

Implementation

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