ToolWidgetToolDataMapping constructor

const ToolWidgetToolDataMapping({
  1. Input<Map<String, String>?>? fieldMappings,
  2. Input<String?>? mode,
  3. Input<ToolWidgetToolDataMappingPythonFunction?>? pythonFunction,
  4. Input<String?>? sourceToolName,
})

Creates a new ToolWidgetToolDataMapping. fieldMappings Optional. A map of widget input parameter fields to the corresponding output fields of the source tool. mode Optional. The mode of the data mapping. pythonFunction Optional. Configuration for a Python function used to transform the source tool's sourceToolName Optional. The resource name of the tool that provides the data for the widget (e.g., a search tool or a custom function).

Implementation

const ToolWidgetToolDataMapping({
  this.fieldMappings,
  this.mode,
  this.pythonFunction,
  this.sourceToolName,
});