BulkListAssignedTargetingOptionsResponse.fromJson constructor

BulkListAssignedTargetingOptionsResponse.fromJson(
  1. Map json_
)

Implementation

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