SaveConfig.photoAndVideo constructor

SaveConfig.photoAndVideo({
  1. required FilePathBuilder photoPathBuilder,
  2. required FilePathBuilder videoPathBuilder,
  3. CaptureMode initialCaptureMode = CaptureMode.photo,
})

You want to be able to take both photos and videos

Implementation

SaveConfig.photoAndVideo({
  required FilePathBuilder photoPathBuilder,
  required FilePathBuilder videoPathBuilder,
  CaptureMode initialCaptureMode = CaptureMode.photo,
}) : this._(
        photoPathBuilder: photoPathBuilder,
        videoPathBuilder: videoPathBuilder,
        captureModes: [CaptureMode.photo, CaptureMode.video],
        initialCaptureMode: initialCaptureMode,
      );