TreeNode class

Constructors

TreeNode({required String key, String? label, List<TreeOption> options = const [], List<TreeNode> children = const [], String? leadsTo, String? script, String? ref})
TreeNode.fromJson(Map<String, dynamic> json)
factory

Properties

children List<TreeNode>
final
hashCode int
The hash code for this object.
no setterinherited
key String
final
label String?
final
leadsTo String?
final
options List<TreeOption>
final
ref String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited