setToKeyForLinkData method

void setToKeyForLinkData(
  1. Object linkdata,
  2. dynamic key
)

Change the node key that the given link data references as the destination of the link. @param {ObjectData} linkdata a JavaScript object represented by a link. @param {string|number|undefined} key This may be undefined if the link should no longer go to any node. @see #linkToKeyProperty @see #getToKeyForLinkData

Implementation

void setToKeyForLinkData(
  _i2.Object linkdata,
  _i2.dynamic key,
) {
  _i4.callMethod(
    this,
    'setToKeyForLinkData',
    [
      linkdata,
      key,
    ],
  );
}