fromValue static method

Implementation

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