copyWith method
ContentTemplateUpdate
copyWith({
- String? templateId,
- String? name,
- ContentTemplateUpdateTemplateType? templateType,
- ContentTemplateBodyCreate? body,
- String? description,
- List<
Label> ? labels, - ContentTemplateUpdateSpace? space,
Implementation
ContentTemplateUpdate copyWith(
{String? templateId,
String? name,
ContentTemplateUpdateTemplateType? templateType,
ContentTemplateBodyCreate? body,
String? description,
List<Label>? labels,
ContentTemplateUpdateSpace? space}) {
return ContentTemplateUpdate(
templateId: templateId ?? this.templateId,
name: name ?? this.name,
templateType: templateType ?? this.templateType,
body: body ?? this.body,
description: description ?? this.description,
labels: labels ?? this.labels,
space: space ?? this.space,
);
}