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,
      );