ToolChoiceMode class final
Values of ToolChoice.mode.
Constructors
- ToolChoiceMode.of(String value)
-
The value
value; one outside the schema is kept as is.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
The JSON form of this value.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- auto → const ToolChoiceMode
- none → const ToolChoiceMode
- required → const ToolChoiceMode
-
values
→ const List<
ToolChoiceMode> - Every value the schema defines.