GoogleAdsSearchads360V23CommonLocationSet.fromJson constructor

GoogleAdsSearchads360V23CommonLocationSet.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23CommonLocationSet.fromJson(core.Map json_)
  : this(
      businessProfileLocationSet:
          json_.containsKey('businessProfileLocationSet')
          ? GoogleAdsSearchads360V23CommonBusinessProfileLocationSet.fromJson(
              json_['businessProfileLocationSet']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      chainLocationSet: json_.containsKey('chainLocationSet')
          ? GoogleAdsSearchads360V23CommonChainSet.fromJson(
              json_['chainLocationSet']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      locationOwnershipType: json_['locationOwnershipType'] as core.String?,
      mapsLocationSet: json_.containsKey('mapsLocationSet')
          ? GoogleAdsSearchads360V23CommonMapsLocationSet.fromJson(
              json_['mapsLocationSet'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );