getByValue static method

LogLevel getByValue(
  1. int value
)

Implementation

static LogLevel getByValue(int value) {
  return LogLevel.values.firstWhere((x) => x.rawValue == value);
}