Creates a TreeNode instance with a given value and parent. Parent node, if specified, has its childrenStore property changed to include new child.
TreeNode
childrenStore
Optional
Creates a
TreeNodeinstance with a given value and parent. Parent node, if specified, has itschildrenStoreproperty changed to include new child.