Node<T> class

Constructors

Node({required String id, required String label, required NodeType type, T? data, List<Node<T>> children = const [], bool isExpanded = false})

Properties

canExpand bool
Helper to check if this node can have children displayed in the current mode
no setter
children List<Node<T>>
final
data → T?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isExpanded bool
getter/setter pair
label String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type NodeType
final

Methods

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

Operators

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