copyWith method

CreateWorkflowDetails copyWith({
  1. String? description,
  2. String? name,
  3. List<CreateWorkflowStatusDetails>? statuses,
  4. 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,
  );
}