getByValue static method
Implementation
static DetectFacesBackendErrorCode? getByValue(int? i) {
if (i == null) return null;
try {
return DetectFacesBackendErrorCode.values.firstWhere((x) => x.value == i);
} catch (_) {
return DetectFacesBackendErrorCode.UNDEFINED;
}
}