copyWith method
Implementation
ContentBlockResource copyWith({
Object? type = _acpCopyWithAbsent,
Object? annotations = _acpCopyWithAbsent,
Object? resource = _acpCopyWithAbsent,
Object? meta = _acpCopyWithAbsent,
}) => ContentBlockResource(
type: identical(type, _acpCopyWithAbsent) ? this.type : type as String,
annotations: identical(annotations, _acpCopyWithAbsent)
? this.annotations
: annotations as Annotations?,
resource: identical(resource, _acpCopyWithAbsent)
? this.resource
: resource as EmbeddedResourceResource,
meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);