fromValue static method

Logging fromValue(
  1. String value
)

Implementation

static Logging fromValue(String value) {
  for (final item in Logging.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown Logging value: $value');
}