SessionUpdateToolCall constructor
SessionUpdateToolCall({
- required String sessionUpdate,
- required ToolCallId toolCallId,
- required String title,
- ToolKind? kind,
- ToolCallStatus? status,
- List<
ToolCallContent> ? content, - List<
ToolCallLocation> ? locations, - Object? rawInput,
- Object? rawOutput,
- 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();