itemChildrenLength method

int itemChildrenLength(
  1. dynamic item
)

Implementation

int itemChildrenLength(dynamic item) {
  if (item == null) {
    return data!.length;
  }
  NodeData nodeData = item;
  return nodeData.children.length;
}