fromValue static method

Implementation

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