GoogleCloudRetailV2Catalog.fromJson constructor

GoogleCloudRetailV2Catalog.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2Catalog.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        productLevelConfig: json_.containsKey('productLevelConfig')
            ? GoogleCloudRetailV2ProductLevelConfig.fromJson(
                json_['productLevelConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );