getChildCount method

int getChildCount(
  1. T node
)

Gets the number of children of a specific node

Implementation

int getChildCount(T node) => childCounts[node] ?? 0;