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