getOtherPort method

GraphObject? getOtherPort(
  1. GraphObject port
)

Given a GraphObject that is a "port", return the port at the other end of this link. @param {GraphObject} port @return {GraphObject} This may return the same object, if the link is reflexive.

Implementation

_i3.GraphObject? getOtherPort(_i3.GraphObject port) => _i4.callMethod(
      this,
      'getOtherPort',
      [port],
    );