Node<NodeType, IdType extends Object> class

A Node is a node in the SkillTree. Parent and child information is not stored here but in the edges. This is done to keep cyclic graphs possible.

Implementers
Available extensions
Annotations

Constructors

Node({required IdType id, required NodeType data, String? name})
const

Properties

data → NodeType
The data associated with the skill node. If you want to restore this information from the json representation, ensure you use a withConverter function to convert the json representation to the data type on the SkillTree.
final
hashCode int
The hash code for this object.
no setteroverride
id → IdType
The id of the skill node.
final
name String?
The optional semantic name of the skill node.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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