copyWith method
RenderedObjectInfo
copyWith({
- ScreenPoint? closestViewportPoint,
- GeoPointWithElevation? closestMapPoint,
- RenderedObject? item,
Implementation
RenderedObjectInfo copyWith({
ScreenPoint? closestViewportPoint,
GeoPointWithElevation? closestMapPoint,
RenderedObject? item
}) {
return RenderedObjectInfo(
closestViewportPoint: closestViewportPoint ?? this.closestViewportPoint,
closestMapPoint: closestMapPoint ?? this.closestMapPoint,
item: item ?? this.item
);
}