copyWith method

ContentMetadata copyWith({
  1. ContentMetadataCurrentuser? currentuser,
  2. GenericLinks? properties,
  3. Map<String, dynamic>? frontend,
  4. dynamic labels,
})

Implementation

ContentMetadata copyWith(
    {ContentMetadataCurrentuser? currentuser,
    GenericLinks? properties,
    Map<String, dynamic>? frontend,
    dynamic labels}) {
  return ContentMetadata(
    currentuser: currentuser ?? this.currentuser,
    properties: properties ?? this.properties,
    frontend: frontend ?? this.frontend,
    labels: labels ?? this.labels,
  );
}