toPort property

GraphObject? toPort

This read-only property returns a GraphObject that is the "to" port that this link is connected to. The #toNode provides the node that the link is going to. The #toPortId provides the identifier for which port this link is going to; you can set that property in order to change the value of this property. This method may return null.

Implementation

_i3.GraphObject? get toPort => _i4.getProperty(
      this,
      'toPort',
    );
void toPort=(GraphObject? value)

Implementation

set toPort(_i3.GraphObject? value) {
  _i4.setProperty(
    this,
    'toPort',
    value ?? _i5.undefined,
  );
}