GoogleCloudRetailV2Tile.fromJson constructor

GoogleCloudRetailV2Tile.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2Tile.fromJson(core.Map json_)
  : this(
      productAttributeInterval:
          json_.containsKey('productAttributeInterval')
              ? GoogleCloudRetailV2ProductAttributeInterval.fromJson(
                json_['productAttributeInterval']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      productAttributeValue:
          json_.containsKey('productAttributeValue')
              ? GoogleCloudRetailV2ProductAttributeValue.fromJson(
                json_['productAttributeValue']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      representativeProductId:
          json_['representativeProductId'] as core.String?,
    );