copyWith method
SessionUpdateToolCallUpdate
copyWith({
- Object? sessionUpdate = _acpCopyWithAbsent,
- Object? toolCallId = _acpCopyWithAbsent,
- Object? kind = _acpCopyWithAbsent,
- Object? status = _acpCopyWithAbsent,
- Object? title = _acpCopyWithAbsent,
- Object? content = _acpCopyWithAbsent,
- Object? locations = _acpCopyWithAbsent,
- Object? rawInput = _acpCopyWithAbsent,
- Object? rawOutput = _acpCopyWithAbsent,
- Object? meta = _acpCopyWithAbsent,
Implementation
SessionUpdateToolCallUpdate copyWith({
Object? sessionUpdate = _acpCopyWithAbsent,
Object? toolCallId = _acpCopyWithAbsent,
Object? kind = _acpCopyWithAbsent,
Object? status = _acpCopyWithAbsent,
Object? title = _acpCopyWithAbsent,
Object? content = _acpCopyWithAbsent,
Object? locations = _acpCopyWithAbsent,
Object? rawInput = _acpCopyWithAbsent,
Object? rawOutput = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => SessionUpdateToolCallUpdate(
sessionUpdate: identical(sessionUpdate, _acpCopyWithAbsent)
? this.sessionUpdate
: sessionUpdate as String,
toolCallId: identical(toolCallId, _acpCopyWithAbsent)
? this.toolCallId
: toolCallId as ToolCallId,
kind: identical(kind, _acpCopyWithAbsent)
? this.kind
: kind as AcpField<ToolKind>,
status: identical(status, _acpCopyWithAbsent)
? this.status
: status as AcpField<ToolCallStatus>,
title: identical(title, _acpCopyWithAbsent)
? this.title
: title as AcpField<String>,
content: identical(content, _acpCopyWithAbsent)
? this.content
: content as AcpField<List<ToolCallContent>>,
locations: identical(locations, _acpCopyWithAbsent)
? this.locations
: locations as AcpField<List<ToolCallLocation>>,
rawInput: identical(rawInput, _acpCopyWithAbsent)
? this.rawInput
: rawInput as AcpField<Object>,
rawOutput: identical(rawOutput, _acpCopyWithAbsent)
? this.rawOutput
: rawOutput as AcpField<Object>,
meta: identical(meta, _acpCopyWithAbsent)
? this.meta
: meta as AcpField<AcpJsonMap>,
);