copyWith method

CameraCaptureOptions copyWith(
  1. {VideoParameters? params,
  2. CameraPosition? cameraPosition,
  3. String? deviceId,
  4. double? maxFrameRate}
)

Implementation

CameraCaptureOptions copyWith({
  VideoParameters? params,
  CameraPosition? cameraPosition,
  String? deviceId,
  double? maxFrameRate,
}) =>
    CameraCaptureOptions(
      params: params ?? this.params,
      cameraPosition: cameraPosition ?? this.cameraPosition,
      deviceId: deviceId ?? this.deviceId,
      maxFrameRate: maxFrameRate ?? this.maxFrameRate,
    );