fromRawValue static method
Implementation
static InputImageFormat? fromRawValue(int rawValue) {
try {
return InputImageFormat.values.firstWhere(
(element) => element.rawValue == rawValue,
);
} catch (_) {
return null;
}
}
static InputImageFormat? fromRawValue(int rawValue) {
try {
return InputImageFormat.values.firstWhere(
(element) => element.rawValue == rawValue,
);
} catch (_) {
return null;
}
}