PhotoCapabilities constructor
PhotoCapabilities({
- RedEyeReduction? redEyeReduction,
- MediaSettingsRange? imageHeight,
- MediaSettingsRange? imageWidth,
- Iterable<
FillLightMode> ? fillLightMode,
Implementation
factory PhotoCapabilities(
{RedEyeReduction? redEyeReduction,
MediaSettingsRange? imageHeight,
MediaSettingsRange? imageWidth,
Iterable<FillLightMode>? fillLightMode}) =>
PhotoCapabilities._(
redEyeReduction: redEyeReduction?.value ?? undefined,
imageHeight: imageHeight ?? undefined,
imageWidth: imageWidth ?? undefined,
fillLightMode: fillLightMode?.map((e) => e.value) ?? undefined);