ListPretargetingConfigsResponse.fromJson constructor

ListPretargetingConfigsResponse.fromJson(
  1. Map json_
)

Implementation

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