removePort method

bool removePort(
  1. String portId
)

Removes a port by ID from either input or output ports.

Implementation

bool removePort(String portId) {
  return removeInputPort(portId) || removeOutputPort(portId);
}