dumpFlat
Prints the root node, and then all descendant TreeItem.children for TreeItems which are expanded. i.e. The TreeItems that are visible if you scroll from the top of the TreeView to the bottom, plus the root node (even when showRoot == true).
For debugging purposes.