copyWith method

ContentBlockAudio copyWith({
  1. Object? type = _acpCopyWithAbsent,
  2. Object? annotations = _acpCopyWithAbsent,
  3. Object? data = _acpCopyWithAbsent,
  4. Object? mimeType = _acpCopyWithAbsent,
  5. Object? meta = _acpCopyWithAbsent,
})

Implementation

ContentBlockAudio copyWith({
  Object? type = _acpCopyWithAbsent,
  Object? annotations = _acpCopyWithAbsent,
  Object? data = _acpCopyWithAbsent,
  Object? mimeType = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ContentBlockAudio(
  type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
  annotations: identical(annotations, _acpCopyWithAbsent)
      ? this.annotations
      : annotations as Annotations?,
  data: identical(data, _acpCopyWithAbsent) ? this.data : data as String,
  mimeType: identical(mimeType, _acpCopyWithAbsent)
      ? this.mimeType
      : mimeType as String,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);