TreeNode constructor

TreeNode({
  1. int? id,
  2. String? title,
  3. String? code,
  4. bool? isCheck = false,
  5. int hierarchy = 0,
  6. TreeNode? parent,
  7. List<TreeNode> children = const [],
})

Implementation

TreeNode({
  this.id,
  this.title,
  this.code,
  this.isCheck = false,
  this.hierarchy = 0,
  this.parent,
  this.children = const [],
});