copyWith method

ZoomValue copyWith({
  1. double? minAvailableZoom,
  2. double? maxAvailableZoom,
  3. double? currentScale,
  4. double? baseScale,
  5. int? pointers,
})

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,
  );
}