copyWith method

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

Implementation

AudioContent copyWith({
  Object? annotations = _acpCopyWithAbsent,
  Object? data = _acpCopyWithAbsent,
  Object? mimeType = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => AudioContent(
  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?,
);