PhotoSettings constructor

PhotoSettings({
  1. FillLightMode? fillLightMode,
  2. double? imageHeight,
  3. double? imageWidth,
  4. bool? redEyeReduction,
})

Implementation

factory PhotoSettings(
        {FillLightMode? fillLightMode,
        double? imageHeight,
        double? imageWidth,
        bool? redEyeReduction}) =>
    PhotoSettings._(
        fillLightMode: fillLightMode?.value ?? undefined,
        imageHeight: imageHeight ?? undefined,
        imageWidth: imageWidth ?? undefined,
        redEyeReduction: redEyeReduction ?? undefined);