CapturePhotoSettings constructor Null safety


Creates a photo settings object with default settings.

Capturing a photo with default settings delivers a single image in JPEG format.

Requesting capture in a processed format (such as JPEG) adds requirements for other photo settings: for details, see the format property. The capture output validates these requirement when you call the CapturePhotoOutput.capturePhotoWithSettings method. If your settings and delegate don’t meet these requirement, that method raises an exception.


CapturePhotoSettings() {
  _channel.$create$(this, $owner: true);