findLinkForKey method

Link? findLinkForKey(
  1. dynamic key
)

Look for a Link corresponding to a model's link data object's unique key. @param {(string|number|undefined)} key a string or number. @return {Link} null if a link data with that key cannot be found in the model, or if a corresponding Link cannot be found in the Diagram, or if the model is a GraphLinksModel without GraphLinksModel#linkKeyProperty set to a non-empty string. @since 2.1

Implementation

_i3.Link? findLinkForKey(_i2.dynamic key) => _i4.callMethod(
      this,
      'findLinkForKey',
      [key],
    );