addInputPort method

void addInputPort(
  1. Port port
)

Adds an input port to the node.

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

Parameters:

  • port - The port to add

Implementation

void addInputPort(Port port) {
  runInAction(() {
    inputPorts.add(port);
  });
}