findNodeForKey method

Node? findNodeForKey(
  1. dynamic key
)

Look for a Node or Group corresponding to a model's node data object's unique key. @param {(string|number|undefined)} key a string or number. @return {Node} null if a node data with that key cannot be found in the model, or if a corresponding Node or Group cannot be found in the Diagram, or if what is found is just a Part.

Implementation

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