ListAdGroupAdsResponse.fromJson constructor

ListAdGroupAdsResponse.fromJson(
  1. Map json_
)

Implementation

ListAdGroupAdsResponse.fromJson(core.Map json_)
    : this(
        adGroupAds: json_.containsKey('adGroupAds')
            ? (json_['adGroupAds'] as core.List)
                .map((value) => AdGroupAd.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );