copyWith method

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

Implementation

ImageContent copyWith({
  Object? annotations = _acpCopyWithAbsent,
  Object? data = _acpCopyWithAbsent,
  Object? mimeType = _acpCopyWithAbsent,
  Object? uri = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ImageContent(
  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,
  uri: identical(uri, _acpCopyWithAbsent) ? this.uri : uri as String?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);