AssistantTranscriptStep constructor

AssistantTranscriptStep({
  1. String? narration,
  2. AssistantToolStatus? tool,
  3. AssistantToolResult? toolResult,
})

Implementation

factory AssistantTranscriptStep({
  $core.String? narration,
  AssistantToolStatus? tool,
  AssistantToolResult? toolResult,
}) {
  final $result = create();
  if (narration != null) {
    $result.narration = narration;
  }
  if (tool != null) {
    $result.tool = tool;
  }
  if (toolResult != null) {
    $result.toolResult = toolResult;
  }
  return $result;
}