copyWith method
BlueprintTemplate
copyWith({
- String? templateId,
- BlueprintTemplateOriginalTemplate? originalTemplate,
- String? referencingBlueprint,
- String? name,
- String? description,
- Map<
String, dynamic> ? space, - List<
Label> ? labels, - String? templateType,
- String? editorVersion,
- ContentTemplateBody? body,
- BlueprintTemplateExpandable? expandable,
- GenericLinks? links,
Implementation
BlueprintTemplate copyWith(
{String? templateId,
BlueprintTemplateOriginalTemplate? originalTemplate,
String? referencingBlueprint,
String? name,
String? description,
Map<String, dynamic>? space,
List<Label>? labels,
String? templateType,
String? editorVersion,
ContentTemplateBody? body,
BlueprintTemplateExpandable? expandable,
GenericLinks? links}) {
return BlueprintTemplate(
templateId: templateId ?? this.templateId,
originalTemplate: originalTemplate ?? this.originalTemplate,
referencingBlueprint: referencingBlueprint ?? this.referencingBlueprint,
name: name ?? this.name,
description: description ?? this.description,
space: space ?? this.space,
labels: labels ?? this.labels,
templateType: templateType ?? this.templateType,
editorVersion: editorVersion ?? this.editorVersion,
body: body ?? this.body,
expandable: expandable ?? this.expandable,
links: links ?? this.links,
);
}