SessionUpdateToolCall constructor

SessionUpdateToolCall({
  1. required String sessionUpdate,
  2. required ToolCallId toolCallId,
  3. required String title,
  4. ToolKind? kind,
  5. ToolCallStatus? status,
  6. List<ToolCallContent>? content,
  7. List<ToolCallLocation>? locations,
  8. Object? rawInput,
  9. Object? rawOutput,
  10. AcpJsonMap? meta,
})

Implementation

SessionUpdateToolCall({
  required this.sessionUpdate,
  required this.toolCallId,
  required this.title,
  this.kind,
  this.status,
  List<ToolCallContent>? content,
  List<ToolCallLocation>? locations,
  Object? rawInput,
  Object? rawOutput,
  AcpJsonMap? meta,
}) : content = content == null ? null : List.unmodifiable(content!),
     locations = locations == null ? null : List.unmodifiable(locations!),
     rawInput = rawInput == null ? null : deepFreezeAcpJson(rawInput!)!,
     rawOutput = rawOutput == null ? null : deepFreezeAcpJson(rawOutput!)!,
     meta = meta == null ? null : deepFreezeAcpJsonMap(meta!),
     super();