copyWith method

ElicitationUrlModeSession copyWith({
  1. Object? elicitationId = _acpCopyWithAbsent,
  2. Object? url = _acpCopyWithAbsent,
  3. Object? sessionId = _acpCopyWithAbsent,
  4. Object? toolCallId = _acpCopyWithAbsent,
})

Implementation

ElicitationUrlModeSession copyWith({
  Object? elicitationId = _acpCopyWithAbsent,
  Object? url = _acpCopyWithAbsent,
  Object? sessionId = _acpCopyWithAbsent,
  Object? toolCallId = _acpCopyWithAbsent,
}) => ElicitationUrlModeSession(
  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?,
);