fromValue static method
Gets a possible TracingCategory instance from int value.
Implementation
static TracingCategory? fromValue(int? value) {
if (value != null) {
try {
return TracingCategory.values
.firstWhere((element) => element.toValue() == value);
} catch (e) {
return null;
}
}
return null;
}