ToolWidgetToolDataMappingPythonFunction class
Constructors
-
ToolWidgetToolDataMappingPythonFunction({Input<
String?> ? description, Input<String?> ? name, Input<String?> ? pythonCode}) -
Creates a new ToolWidgetToolDataMappingPythonFunction.
description(Output)nameOptional. The name of the Python function to execute. Must match a Python functionpythonCodeOptional. The Python code to execute for the tool.const -
ToolWidgetToolDataMappingPythonFunction.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String?> ? -
(Output)
The description of the Python function, parsed from the python code's
docstring.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Optional. The name of the Python function to execute. Must match a Python function
name defined in the python code. Case sensitive. If the name is not
provided, the first function defined in the python code will be used.
final
-
pythonCode
→ Input<
String?> ? -
Optional. The Python code to execute for the tool.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited