fromValue static method
Implementation
static image_ffmpeg_jpeg_chroma fromValue(int value) => switch (value) {
0 => IMAGE_FFMPEG_JPEG_CHROMA_420,
1 => IMAGE_FFMPEG_JPEG_CHROMA_444,
_ => throw ArgumentError(
'Unknown value for image_ffmpeg_jpeg_chroma: $value',
),
};