PhotoCameraState constructor

PhotoCameraState({
  1. required CameraContext cameraContext,
  2. required CaptureRequestBuilder filePathBuilder,
  3. required ExifPreferences exifPreferences,
})

Implementation

PhotoCameraState({
  required CameraContext cameraContext,
  required this.filePathBuilder,
  required this.exifPreferences,
}) : super(cameraContext) {
  _saveGpsLocationController = BehaviorSubject.seeded(exifPreferences.saveGPSLocation);
  saveGpsLocation$ = _saveGpsLocationController.stream;
}