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
TreeNode
instance with a given value and parent. Parent node, if specified, has itschildrenStore
property changed to include new child.