ListYoutubeAdGroupAssignedTargetingOptionsResponse.fromJson constructor

ListYoutubeAdGroupAssignedTargetingOptionsResponse.fromJson(
  1. Map json_
)

Implementation

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