GoogleAdsSearchads360V23CommonLineupAttributeMetadata.fromJson constructor

GoogleAdsSearchads360V23CommonLineupAttributeMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23CommonLineupAttributeMetadata.fromJson(core.Map json_)
  : this(
      channelCountLowerBound: json_['channelCountLowerBound'] as core.String?,
      channelCountUpperBound: json_['channelCountUpperBound'] as core.String?,
      inventoryCountry: json_.containsKey('inventoryCountry')
          ? GoogleAdsSearchads360V23CommonLocationInfo.fromJson(
              json_['inventoryCountry']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      medianMonthlyInventory: json_['medianMonthlyInventory'] as core.String?,
      sampleChannels: (json_['sampleChannels'] as core.List?)
          ?.map(
            (value) =>
                GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
    );