src property

PortReference get src

The source driver port of the connection.

Implementation

PortReference get src =>
    point1.direction == PortDirection.output ? point1 : point2;