BulkListAdGroupAssignedTargetingOptionsResponse.fromJson constructor

BulkListAdGroupAssignedTargetingOptionsResponse.fromJson(
  1. Map json_
)

Implementation

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