isOutput property
bool
get
isOutput
Whether this port can act as an output for connections.
Returns true if the port type is PortType.output. Use this to determine if connections can originate from this port.
Implementation
bool get isOutput => type == PortType.output;