allPorts property

List<Port> get allPorts

Gets all ports (input and output combined).

Returns a new list containing all input ports followed by all output ports.

Implementation

List<Port> get allPorts => [...inputPorts, ...outputPorts];