getChildCount method

int getChildCount(
  1. TKey key
)

Gets the number of children for the given node.

Implementation

int getChildCount(TKey key) {
  return _childListOf(key)?.length ?? 0;
}