ToolPromptFormatResult constructor
ToolPromptFormatResult({
- String? formattedPrompt,
- ToolCallFormatName? format,
- String? errorMessage,
- int? errorCode,
Implementation
factory ToolPromptFormatResult({
$core.String? formattedPrompt,
ToolCallFormatName? format,
$core.String? errorMessage,
$core.int? errorCode,
}) {
final result = create();
if (formattedPrompt != null) result.formattedPrompt = formattedPrompt;
if (format != null) result.format = format;
if (errorMessage != null) result.errorMessage = errorMessage;
if (errorCode != null) result.errorCode = errorCode;
return result;
}