copyWith method

ElicitationSessionScope copyWith({
  1. Object? sessionId = _acpCopyWithAbsent,
  2. Object? toolCallId = _acpCopyWithAbsent,
})

Implementation

ElicitationSessionScope copyWith({
  Object? sessionId = _acpCopyWithAbsent,
  Object? toolCallId = _acpCopyWithAbsent,
}) => ElicitationSessionScope(
  sessionId: identical(sessionId, _acpCopyWithAbsent)
      ? this.sessionId
      : sessionId as SessionId,
  toolCallId: identical(toolCallId, _acpCopyWithAbsent)
      ? this.toolCallId
      : toolCallId as ToolCallId?,
);