copyWith method

ContentBlockResourceLink copyWith({
  1. Object? type = _acpCopyWithAbsent,
  2. Object? annotations = _acpCopyWithAbsent,
  3. Object? description = _acpCopyWithAbsent,
  4. Object? mimeType = _acpCopyWithAbsent,
  5. Object? name = _acpCopyWithAbsent,
  6. Object? size = _acpCopyWithAbsent,
  7. Object? title = _acpCopyWithAbsent,
  8. Object? uri = _acpCopyWithAbsent,
  9. Object? meta = _acpCopyWithAbsent,
})

Implementation

ContentBlockResourceLink copyWith({
  Object? type = _acpCopyWithAbsent,
  Object? annotations = _acpCopyWithAbsent,
  Object? description = _acpCopyWithAbsent,
  Object? mimeType = _acpCopyWithAbsent,
  Object? name = _acpCopyWithAbsent,
  Object? size = _acpCopyWithAbsent,
  Object? title = _acpCopyWithAbsent,
  Object? uri = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ContentBlockResourceLink(
  type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
  annotations: identical(annotations, _acpCopyWithAbsent)
      ? this.annotations
      : annotations as Annotations?,
  description: identical(description, _acpCopyWithAbsent)
      ? this.description
      : description as String?,
  mimeType: identical(mimeType, _acpCopyWithAbsent)
      ? this.mimeType
      : mimeType as String?,
  name: identical(name, _acpCopyWithAbsent) ? this.name : name as String,
  size: identical(size, _acpCopyWithAbsent) ? this.size : size as int?,
  title: identical(title, _acpCopyWithAbsent) ? this.title : title as String?,
  uri: identical(uri, _acpCopyWithAbsent) ? this.uri : uri as String,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);