copyWith method

WorkflowUpdateResponse copyWith({
  1. List<JiraWorkflowStatus>? statuses,
  2. String? taskId,
  3. List<JiraWorkflow>? workflows,
})

Implementation

WorkflowUpdateResponse copyWith(
    {List<JiraWorkflowStatus>? statuses,
    String? taskId,
    List<JiraWorkflow>? workflows}) {
  return WorkflowUpdateResponse(
    statuses: statuses ?? this.statuses,
    taskId: taskId ?? this.taskId,
    workflows: workflows ?? this.workflows,
  );
}