allPorts property

List<Port> get allPorts

Gets all ports (input and output combined).

Implementation

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