addOutputPort method

void addOutputPort(
  1. Port port
)

Adds an output port to the node.

The port will be added to the end of the outputPorts list.

Parameters:

  • port - The port to add

Implementation

void addOutputPort(Port port) {
  runInAction(() {
    outputPorts.add(port);
  });
}