AddTargetedPublishersRequest.fromJson constructor

AddTargetedPublishersRequest.fromJson(
  1. Map json_
)

Implementation

AddTargetedPublishersRequest.fromJson(core.Map json_)
    : this(
        publisherIds: json_.containsKey('publisherIds')
            ? (json_['publisherIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targetingMode: json_.containsKey('targetingMode')
            ? json_['targetingMode'] as core.String
            : null,
      );