AgentSessionDocumentPatch constructor

AgentSessionDocumentPatch({
  1. PatchValue<String> id = const PatchValue.unchanged(),
  2. PatchValue<AgentSessionStatus> status = const PatchValue.unchanged(),
  3. PatchValue<List<AgentMessage>?> messages = const PatchValue.unchanged(),
  4. PatchValue<List<AgentToolCall>?> toolCalls = const PatchValue.unchanged(),
  5. PatchValue<String?> activeTool = const PatchValue.unchanged(),
  6. PatchValue<int?> turns = const PatchValue.unchanged(),
})

Implementation

AgentSessionDocumentPatch({
  PatchValue<String> id = const PatchValue.unchanged(),
  PatchValue<AgentSessionStatus> status = const PatchValue.unchanged(),
  PatchValue<List<AgentMessage>?> messages = const PatchValue.unchanged(),
  PatchValue<List<AgentToolCall>?> toolCalls = const PatchValue.unchanged(),
  PatchValue<String?> activeTool = const PatchValue.unchanged(),
  PatchValue<int?> turns = const PatchValue.unchanged(),
}) : id = id,
     status = status,
     messages = messages,
     toolCalls = toolCalls,
     activeTool = activeTool,
     turns = turns;