BulkEditAssignedTargetingOptionsResponse.fromJson constructor

BulkEditAssignedTargetingOptionsResponse.fromJson(
  1. Map json_
)

Implementation

BulkEditAssignedTargetingOptionsResponse.fromJson(core.Map json_)
    : this(
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => Status.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        failedLineItemIds: json_.containsKey('failedLineItemIds')
            ? (json_['failedLineItemIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        updatedLineItemIds: json_.containsKey('updatedLineItemIds')
            ? (json_['updatedLineItemIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );