copyWith method
Implementation
BuildingLevels copyWith({
LevelId? defaultLevelId,
List<LevelInfo>? levels
}) {
return BuildingLevels(
defaultLevelId: defaultLevelId ?? this.defaultLevelId,
levels: levels ?? this.levels
);
}
BuildingLevels copyWith({
LevelId? defaultLevelId,
List<LevelInfo>? levels
}) {
return BuildingLevels(
defaultLevelId: defaultLevelId ?? this.defaultLevelId,
levels: levels ?? this.levels
);
}