copyWith method

WorkflowCreateResponse copyWith({
  1. List<JiraWorkflowStatus>? statuses,
  2. List<JiraWorkflow>? workflows,
})

Implementation

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