fromValue static method
Implementation
static stbir_edge fromValue(int value) => switch (value) {
0 => STBIR_EDGE_CLAMP,
1 => STBIR_EDGE_REFLECT,
2 => STBIR_EDGE_WRAP,
3 => STBIR_EDGE_ZERO,
_ => throw ArgumentError('Unknown value for stbir_edge: $value'),
};