copyWith method

ToolCallContentTerminal copyWith({
  1. Object? type = _acpCopyWithAbsent,
  2. Object? terminalId = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
})

Implementation

ToolCallContentTerminal copyWith({
  Object? type = _acpCopyWithAbsent,
  Object? terminalId = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ToolCallContentTerminal(
  type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
  terminalId: identical(terminalId, _acpCopyWithAbsent)
      ? this.terminalId
      : terminalId as TerminalId,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);