Gets all ports (input and output combined).
List<Port> get allPorts => [...inputPorts, ...outputPorts];