GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig.fromMap constructor

GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig.fromMap(Map<String, dynamic> map) {
  return GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig(
    contextProductsType: (() { final guardedValue = map['contextProductsType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfigContextProductsType.fromValue(guardedValue as String)); })(),
  );
}