copyWith method
CreateWorkflowDetails
copyWith({
- String? description,
- String? name,
- List<
CreateWorkflowStatusDetails> ? statuses, - List<
CreateWorkflowTransitionDetails> ? transitions,
Implementation
CreateWorkflowDetails copyWith(
{String? description,
String? name,
List<CreateWorkflowStatusDetails>? statuses,
List<CreateWorkflowTransitionDetails>? transitions}) {
return CreateWorkflowDetails(
description: description ?? this.description,
name: name ?? this.name,
statuses: statuses ?? this.statuses,
transitions: transitions ?? this.transitions,
);
}