GoogleCloudRetailV2PriceInfoPriceRange.fromJson constructor

GoogleCloudRetailV2PriceInfoPriceRange.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2PriceInfoPriceRange.fromJson(core.Map json_)
    : this(
        originalPrice: json_.containsKey('originalPrice')
            ? GoogleCloudRetailV2Interval.fromJson(
                json_['originalPrice'] as core.Map<core.String, core.dynamic>)
            : null,
        price: json_.containsKey('price')
            ? GoogleCloudRetailV2Interval.fromJson(
                json_['price'] as core.Map<core.String, core.dynamic>)
            : null,
      );