findLinkDataForKey method
Given a number or string, find the link data object in this model that uses the given value as its unique key.
Unless #linkKeyProperty is set to a non-empty string, this model will not automatically assign unique key values for link data objects, and thus this method will always return null. @param {(string|number|undefined)} key a string or a number. @return {ObjectData} 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 #containsLinkData @see #getKeyForLinkData @since 1.6
Implementation
_i2.Object? findLinkDataForKey(_i2.dynamic key) => _i4.callMethod(
this,
'findLinkDataForKey',
[key],
);