PgnNode<T extends PgnNodeData> class

Parent node containing a list of child nodes (does not contain any data itself).

Implementers

Constructors

PgnNode()

Properties

children List<PgnChildNode<T>>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

mainline() Iterable<T>
Implements an Iterable to iterate the mainline.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transform<U extends PgnNodeData, C>(C context, (C, U)? f(C context, T data, int childIndex)) PgnNode<U>
Transform this node into a PgnNode<U> tree.

Operators

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