fromValue static method

Implementation

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