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