fromValue static method

Implementation

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