copyWith method
Implementation
CameraPositionChange copyWith({
Optional<GeoPoint?>? point,
Optional<Zoom?>? zoom,
Optional<Tilt?>? tilt,
Optional<Bearing?>? bearing
}) {
return CameraPositionChange(
point: point != null ? point.value : this.point,
zoom: zoom != null ? zoom.value : this.zoom,
tilt: tilt != null ? tilt.value : this.tilt,
bearing: bearing != null ? bearing.value : this.bearing
);
}