merge method
Implementation
CameraPickerConfig merge([CameraPickerConfig? config]) => CameraPickerConfig(
enableRecording: config?.enableRecording ?? enableRecording,
onlyEnableRecording: config?.onlyEnableRecording ?? onlyEnableRecording,
enableTapRecording: config?.enableTapRecording ?? enableTapRecording,
enableAudio: config?.enableAudio ?? enableAudio,
enableSetExposure: config?.enableSetExposure ?? enableSetExposure,
enableExposureControlOnPoint:
config?.enableExposureControlOnPoint ?? enableExposureControlOnPoint,
enablePinchToZoom: config?.enablePinchToZoom ?? enablePinchToZoom,
enablePullToZoomInRecord:
config?.enablePullToZoomInRecord ?? enablePullToZoomInRecord,
enableScaledPreview: config?.enableScaledPreview ?? enableScaledPreview,
shouldDeletePreviewFile:
config?.shouldDeletePreviewFile ?? shouldDeletePreviewFile,
shouldAutoPreviewVideo:
config?.shouldAutoPreviewVideo ?? shouldAutoPreviewVideo,
maximumRecordingDuration:
config?.maximumRecordingDuration ?? maximumRecordingDuration,
theme: config?.theme ?? theme,
textDelegate: config?.textDelegate ?? textDelegate,
cameraQuarterTurns: config?.cameraQuarterTurns ?? cameraQuarterTurns,
resolutionPreset: config?.resolutionPreset ?? resolutionPreset,
imageFormatGroup: config?.imageFormatGroup ?? imageFormatGroup,
preferredLensDirection:
config?.preferredLensDirection ?? preferredLensDirection,
lockCaptureOrientation:
config?.lockCaptureOrientation ?? lockCaptureOrientation,
foregroundBuilder: config?.foregroundBuilder ?? foregroundBuilder,
previewTransformBuilder:
previewTransformBuilder ?? previewTransformBuilder,
onEntitySaving: config?.onEntitySaving ?? onEntitySaving,
onError: config?.onError ?? onError,
onXFileCaptured: config?.onXFileCaptured ?? onXFileCaptured);