toDart method

CameraConfig toDart()

Implementation

CameraConfig toDart() {
  return CameraConfig(
    zoom: zoom,
    exposure: exposure,
    flash: flash,
    torch: torch,
    torchLevel: torchLevel,
    whiteBalanceKelvin: whiteBalanceKelvin,
    videoHdr: videoHdr,
    lowLightBoost: lowLightBoost,
    autoFocus: autoFocus,
    videoStabilization: videoStabilization,
    active: active,
    enableFrameProcessing: enableFrameProcessing,
    pixelFormat: pixelFormat,
    samplingRate: samplingRate,
  );
}