isDirectionless property

bool get isDirectionless

Whether this port has no directional tags.

Returns true if the port is not tagged with any of the PairDirection values. Such ports are considered directionless.

Implementation

bool get isDirectionless =>
    !_isSharedInput &&
    !_isFromCommonInOut &&
    !_isFromProvider &&
    !_isFromConsumer;