copyWith method

ZoomModel copyWith({
  1. bool? zoomInEnabled,
  2. bool? zoomOutEnabled,
})

Implementation

ZoomModel copyWith({
  bool? zoomInEnabled,
  bool? zoomOutEnabled,
}) {
  return ZoomModel(
    zoomInEnabled: zoomInEnabled ?? this.zoomInEnabled,
    zoomOutEnabled: zoomOutEnabled ?? this.zoomOutEnabled,
  );
}