Construct a TreeNode with optional List of children value payload of the node subNodes list of Child nodes
const TreeNode( this.value, { this.subNodes = const [], });