ToolExecutionTaskSupport.of constructor

ToolExecutionTaskSupport.of(
  1. String value
)

The value value; one outside the schema is kept as is.

Implementation

factory ToolExecutionTaskSupport.of(String value) => switch (value) {
      'forbidden' => forbidden,
      'optional' => optional,
      'required' => required,
      _ => ToolExecutionTaskSupport._(value),
    };