deleteRightLeaf method
Implementation
@override
DartBlockValueTreeBooleanNode? deleteRightLeaf() {
if (rightChild != null) {
return rightChild?.deleteRightLeaf();
} else if (operator == null && leftChild != null) {
return leftChild!.deleteRightLeaf();
} else {
return parent?.replaceChild(this, null);
}
}