canExpand method

bool canExpand(
  1. K key
)

Implementation

bool canExpand(K key) {
  final item = _itemsMap[key];
  return item?.hasChildren ?? false;
}