copyWith method
Implementation
RenderedObject copyWith({
MapObject? item,
Source? source,
Optional<LevelId?>? levelId
}) {
return RenderedObject(
item: item ?? this.item,
source: source ?? this.source,
levelId: levelId != null ? levelId.value : this.levelId
);
}