copyWith method

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

Implementation

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