GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice.fromJson constructor

GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice.fromJson(
    core.Map json_)
    : this(
        displayPrice: json_.containsKey('displayPrice')
            ? (json_['displayPrice'] as core.num).toDouble()
            : null,
        originalPrice: json_.containsKey('originalPrice')
            ? (json_['originalPrice'] as core.num).toDouble()
            : null,
      );