BulkUpdateLineItemsResponse.fromJson constructor

BulkUpdateLineItemsResponse.fromJson(
  1. Map json_
)

Implementation

BulkUpdateLineItemsResponse.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,
        skippedLineItemIds: json_.containsKey('skippedLineItemIds')
            ? (json_['skippedLineItemIds'] 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,
      );