copyWith method

JiraStatus copyWith({
  1. String? description,
  2. String? id,
  3. String? name,
  4. StatusScope? scope,
  5. JiraStatusStatusCategory? statusCategory,
  6. List<ProjectIssueTypes>? usages,
  7. List<WorkflowUsages>? workflowUsages,
})

Implementation

JiraStatus copyWith(
    {String? description,
    String? id,
    String? name,
    StatusScope? scope,
    JiraStatusStatusCategory? statusCategory,
    List<ProjectIssueTypes>? usages,
    List<WorkflowUsages>? workflowUsages}) {
  return JiraStatus(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    scope: scope ?? this.scope,
    statusCategory: statusCategory ?? this.statusCategory,
    usages: usages ?? this.usages,
    workflowUsages: workflowUsages ?? this.workflowUsages,
  );
}