setEnd method

void setEnd(
  1. Offset end
)

Sets the position of the last point of the link which lies on the target component.

Implementation

void setEnd(Offset end) {
  linkPoints[linkPoints.length - 1] = end;
  notifyListeners();
}