copyWith method

JiraWorkflowStatus copyWith({
  1. String? description,
  2. String? id,
  3. String? name,
  4. WorkflowScope? scope,
  5. JiraWorkflowStatusStatusCategory? statusCategory,
  6. String? statusReference,
  7. List<ProjectIssueTypes>? usages,
})

Implementation

JiraWorkflowStatus copyWith(
    {String? description,
    String? id,
    String? name,
    WorkflowScope? scope,
    JiraWorkflowStatusStatusCategory? statusCategory,
    String? statusReference,
    List<ProjectIssueTypes>? usages}) {
  return JiraWorkflowStatus(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    scope: scope ?? this.scope,
    statusCategory: statusCategory ?? this.statusCategory,
    statusReference: statusReference ?? this.statusReference,
    usages: usages ?? this.usages,
  );
}