copyWith method

SimplifiedHierarchyLevel copyWith({
  1. int? aboveLevelId,
  2. int? belowLevelId,
  3. String? externalUuid,
  4. int? hierarchyLevelNumber,
  5. int? id,
  6. List<int>? issueTypeIds,
  7. int? level,
  8. String? name,
  9. int? projectConfigurationId,
})

Implementation

SimplifiedHierarchyLevel copyWith(
    {int? aboveLevelId,
    int? belowLevelId,
    String? externalUuid,
    int? hierarchyLevelNumber,
    int? id,
    List<int>? issueTypeIds,
    int? level,
    String? name,
    int? projectConfigurationId}) {
  return SimplifiedHierarchyLevel(
    aboveLevelId: aboveLevelId ?? this.aboveLevelId,
    belowLevelId: belowLevelId ?? this.belowLevelId,
    externalUuid: externalUuid ?? this.externalUuid,
    hierarchyLevelNumber: hierarchyLevelNumber ?? this.hierarchyLevelNumber,
    id: id ?? this.id,
    issueTypeIds: issueTypeIds ?? this.issueTypeIds,
    level: level ?? this.level,
    name: name ?? this.name,
    projectConfigurationId:
        projectConfigurationId ?? this.projectConfigurationId,
  );
}