findNodeByKey method
findNodeByKey returns the subtype ValueCompositionNumberNode for ValueCompositionNumberNode and its concrete subclasses.
Implementation
@override
DartBlockValueTreeAlgebraicNode? findNodeByKey(String key) {
if (key == nodeKey) {
return this;
} else {
return leftChild?.findNodeByKey(key) ?? rightChild?.findNodeByKey(key);
}
}