BulkUpdateLineItemsRequest.fromJson constructor

BulkUpdateLineItemsRequest.fromJson(
  1. Map json_
)

Implementation

BulkUpdateLineItemsRequest.fromJson(core.Map json_)
    : this(
        lineItemIds: json_.containsKey('lineItemIds')
            ? (json_['lineItemIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        targetLineItem: json_.containsKey('targetLineItem')
            ? LineItem.fromJson(json_['targetLineItem']
                as core.Map<core.String, core.dynamic>)
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );