copyWith method

PromptCapabilities copyWith({
  1. Object? image = _acpCopyWithAbsent,
  2. Object? audio = _acpCopyWithAbsent,
  3. Object? embeddedContext = _acpCopyWithAbsent,
  4. Object? meta = _acpCopyWithAbsent,
})

Implementation

PromptCapabilities copyWith({
  Object? image = _acpCopyWithAbsent,
  Object? audio = _acpCopyWithAbsent,
  Object? embeddedContext = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => PromptCapabilities(
  image: identical(image, _acpCopyWithAbsent) ? this.image : image as bool?,
  audio: identical(audio, _acpCopyWithAbsent) ? this.audio : audio as bool?,
  embeddedContext: identical(embeddedContext, _acpCopyWithAbsent)
      ? this.embeddedContext
      : embeddedContext as bool?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);