copyWith method

Errors copyWith({
  1. Error? issueIsSubtask,
  2. Error? issuesInArchivedProjects,
  3. Error? issuesInUnlicensedProjects,
  4. Error? issuesNotFound,
})

Implementation

Errors copyWith(
    {Error? issueIsSubtask,
    Error? issuesInArchivedProjects,
    Error? issuesInUnlicensedProjects,
    Error? issuesNotFound}) {
  return Errors(
    issueIsSubtask: issueIsSubtask ?? this.issueIsSubtask,
    issuesInArchivedProjects:
        issuesInArchivedProjects ?? this.issuesInArchivedProjects,
    issuesInUnlicensedProjects:
        issuesInUnlicensedProjects ?? this.issuesInUnlicensedProjects,
    issuesNotFound: issuesNotFound ?? this.issuesNotFound,
  );
}