copyWith method
Implementation
CreateElicitationRequestForm copyWith({
Object? message = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
Object? mode = _acpCopyWithAbsent,
Object? requestedSchema = _acpCopyWithAbsent,
Object? sessionId = _acpCopyWithAbsent,
Object? toolCallId = _acpCopyWithAbsent,
Object? requestId = _acpCopyWithAbsent,
}) => CreateElicitationRequestForm(
message: identical(message, _acpCopyWithAbsent)
? this.message
: message as String,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
mode: identical(mode, _acpCopyWithAbsent) ? this.mode : mode as String,
requestedSchema: identical(requestedSchema, _acpCopyWithAbsent)
? this.requestedSchema
: requestedSchema as ElicitationSchema,
sessionId: identical(sessionId, _acpCopyWithAbsent)
? this.sessionId
: sessionId as SessionId?,
toolCallId: identical(toolCallId, _acpCopyWithAbsent)
? this.toolCallId
: toolCallId as ToolCallId?,
requestId: identical(requestId, _acpCopyWithAbsent)
? this.requestId
: requestId as RequestId?,
);