copyWith method
Implementation
Hierarchy copyWith(
{int? baseLevelId, List<SimplifiedHierarchyLevel>? levels}) {
return Hierarchy(
baseLevelId: baseLevelId ?? this.baseLevelId,
levels: levels ?? this.levels,
);
}
Hierarchy copyWith(
{int? baseLevelId, List<SimplifiedHierarchyLevel>? levels}) {
return Hierarchy(
baseLevelId: baseLevelId ?? this.baseLevelId,
levels: levels ?? this.levels,
);
}