copyWith method

ComponentWithIssueCount copyWith({
  1. User? assignee,
  2. ComponentWithIssueCountAssigneeType? assigneeType,
  3. String? description,
  4. String? id,
  5. bool? isAssigneeTypeValid,
  6. int? issueCount,
  7. User? lead,
  8. String? name,
  9. String? project,
  10. int? projectId,
  11. User? realAssignee,
  12. ComponentWithIssueCountRealAssigneeType? realAssigneeType,
  13. String? self,
})

Implementation

ComponentWithIssueCount copyWith(
    {User? assignee,
    ComponentWithIssueCountAssigneeType? assigneeType,
    String? description,
    String? id,
    bool? isAssigneeTypeValid,
    int? issueCount,
    User? lead,
    String? name,
    String? project,
    int? projectId,
    User? realAssignee,
    ComponentWithIssueCountRealAssigneeType? realAssigneeType,
    String? self}) {
  return ComponentWithIssueCount(
    assignee: assignee ?? this.assignee,
    assigneeType: assigneeType ?? this.assigneeType,
    description: description ?? this.description,
    id: id ?? this.id,
    isAssigneeTypeValid: isAssigneeTypeValid ?? this.isAssigneeTypeValid,
    issueCount: issueCount ?? this.issueCount,
    lead: lead ?? this.lead,
    name: name ?? this.name,
    project: project ?? this.project,
    projectId: projectId ?? this.projectId,
    realAssignee: realAssignee ?? this.realAssignee,
    realAssigneeType: realAssigneeType ?? this.realAssigneeType,
    self: self ?? this.self,
  );
}