TreeNode constructor

TreeNode({
  1. required String key,
  2. String? label,
  3. List<TreeOption> options = const [],
  4. List<TreeNode> children = const [],
  5. String? leadsTo,
  6. String? script,
  7. String? ref,
})

Implementation

TreeNode({
  required this.key,
  this.label,
  this.options = const [],
  this.children = const [],
  this.leadsTo,
  this.script,
  this.ref,
});