findNodeDataForKey method

Object? findNodeDataForKey(
  1. dynamic key
)

Given a number or string, find the node data object in this model that uses the given value as its unique key. @param {(string|number|undefined)} key a string or a number. @return {Object} null if the key is not present in the model, or if the key is null or undefined or not a string or number. @see #containsNodeData @see #getKeyForNodeData

Implementation

_i2.Object? findNodeDataForKey(_i2.dynamic key) => _i4.callMethod(
      this,
      'findNodeDataForKey',
      [key],
    );