getLeaves abstract method

Set<Node> getLeaves({
  1. Node? startNode,
})

Implementation

Set<Node> getLeaves({Node? startNode});