copyWith method

CameraZoomRestrictions copyWith({
  1. Zoom? minZoom,
  2. Zoom? maxZoom,
})

Implementation

CameraZoomRestrictions copyWith({
  Zoom? minZoom,
  Zoom? maxZoom
}) {
  return CameraZoomRestrictions(
    minZoom: minZoom ?? this.minZoom,
    maxZoom: maxZoom ?? this.maxZoom
  );
}