copyWith method

McpCapabilities copyWith({
  1. Object? http = _acpCopyWithAbsent,
  2. Object? sse = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
})

Implementation

McpCapabilities copyWith({
  Object? http = _acpCopyWithAbsent,
  Object? sse = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => McpCapabilities(
  http: identical(http, _acpCopyWithAbsent) ? this.http : http as bool?,
  sse: identical(sse, _acpCopyWithAbsent) ? this.sse : sse as bool?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);