fromValue static method

Implementation

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