findParameter method
- String key
Search for the first occurrence of a parameter identifier and return the full GemParameter.
Parameters
key: Parameter key as string.
Returns
- The matching GemParameter. If the key is not found the returned parameter will have an empty GemParameter.key.
Implementation
GemParameter findParameter(final String key) {
final OperationResult resultString = objectMethod(
pointerId,
'SearchableParameterList',
'findParameter',
args: key,
);
return GemParameter.fromJson(resultString['result']);
}