add method

void add(
  1. covariant Node value
)
override

Add a value node to the children

The ValueListenable and addedNodes listeners will also be notified on this operation

Implementation

void add(Node value) {
  super.add(value);
  _notifyListeners();
  _notifyNodesAdded(NodeAddEvent(List.from([value])));
}