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