ListLineItemAssignedTargetingOptionsResponse.fromJson constructor

ListLineItemAssignedTargetingOptionsResponse.fromJson(
  1. Map json_
)

Implementation

ListLineItemAssignedTargetingOptionsResponse.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,
      );