TreeNode constructor

TreeNode({
  1. List<TreeNode> children = const [],
  2. SessionView? session,
})

Returns a new TreeNode instance.

Implementation

TreeNode({
  this.children = const [],
  this.session,
});