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