delete method
void
delete()
override
Delete this node
The ValueListenable and removedNodes listeners will also be notified on this operation
Implementation
void delete() {
final nodeToRemove = this;
super.delete();
_notifyListeners();
_notifyNodesRemoved(NodeRemoveEvent(List.from([nodeToRemove])));
}