BulkEditPartnerAssignedTargetingOptionsRequest.fromJson constructor

BulkEditPartnerAssignedTargetingOptionsRequest.fromJson(
  1. Map json_
)

Implementation

BulkEditPartnerAssignedTargetingOptionsRequest.fromJson(core.Map json_)
    : this(
        createRequests: json_.containsKey('createRequests')
            ? (json_['createRequests'] as core.List)
                .map((value) =>
                    CreateAssignedTargetingOptionsRequest.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        deleteRequests: json_.containsKey('deleteRequests')
            ? (json_['deleteRequests'] as core.List)
                .map((value) =>
                    DeleteAssignedTargetingOptionsRequest.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );