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
-
- @immutable
- @sealed
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
withConverterfunction 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
-
copyWith(
{NodeType? data, IdType? id, String? name}) → Node< NodeType, IdType> -
Available on Node<
NodeType, IdType> , provided by the NodeCopyWith extension -
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