SearchTargetingOptionsRequest.fromJson constructor

SearchTargetingOptionsRequest.fromJson(
  1. Map json_
)

Implementation

SearchTargetingOptionsRequest.fromJson(core.Map json_)
    : this(
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        businessChainSearchTerms:
            json_.containsKey('businessChainSearchTerms')
                ? BusinessChainSearchTerms.fromJson(
                    json_['businessChainSearchTerms']
                        as core.Map<core.String, core.dynamic>)
                : null,
        geoRegionSearchTerms: json_.containsKey('geoRegionSearchTerms')
            ? GeoRegionSearchTerms.fromJson(json_['geoRegionSearchTerms']
                as core.Map<core.String, core.dynamic>)
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        poiSearchTerms: json_.containsKey('poiSearchTerms')
            ? PoiSearchTerms.fromJson(json_['poiSearchTerms']
                as core.Map<core.String, core.dynamic>)
            : null,
      );