copyWith method

CreateElicitationRequestUrl copyWith({
  1. Object? message = _acpCopyWithAbsent,
  2. Object? meta = _acpCopyWithAbsent,
  3. Object? mode = _acpCopyWithAbsent,
  4. Object? elicitationId = _acpCopyWithAbsent,
  5. Object? url = _acpCopyWithAbsent,
  6. Object? sessionId = _acpCopyWithAbsent,
  7. Object? toolCallId = _acpCopyWithAbsent,
  8. Object? requestId = _acpCopyWithAbsent,
})

Implementation

CreateElicitationRequestUrl copyWith({
  Object? message = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
  Object? mode = _acpCopyWithAbsent,
  Object? elicitationId = _acpCopyWithAbsent,
  Object? url = _acpCopyWithAbsent,
  Object? sessionId = _acpCopyWithAbsent,
  Object? toolCallId = _acpCopyWithAbsent,
  Object? requestId = _acpCopyWithAbsent,
}) => CreateElicitationRequestUrl(
  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,
  elicitationId: identical(elicitationId, _acpCopyWithAbsent)
      ? this.elicitationId
      : elicitationId as ElicitationId,
  url: identical(url, _acpCopyWithAbsent) ? this.url : url as String,
  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?,
);