copyWith method
Implementation
ZoomValue copyWith({
double? minAvailableZoom,
double? maxAvailableZoom,
double? currentScale,
double? baseScale,
int? pointers,
}) {
return ZoomValue(
minAvailableZoom: minAvailableZoom ?? this.minAvailableZoom,
maxAvailableZoom: maxAvailableZoom ?? this.maxAvailableZoom,
currentScale: currentScale ?? this.currentScale,
baseScale: baseScale ?? this.baseScale,
pointers: pointers ?? this.pointers,
);
}