ProductsCustomBatchRequestEntry.fromJson constructor

ProductsCustomBatchRequestEntry.fromJson(
  1. Map json_
)

Implementation

ProductsCustomBatchRequestEntry.fromJson(core.Map json_)
    : this(
        batchId: json_.containsKey('batchId')
            ? json_['batchId'] as core.int
            : null,
        feedId: json_.containsKey('feedId')
            ? json_['feedId'] as core.String
            : null,
        merchantId: json_.containsKey('merchantId')
            ? json_['merchantId'] as core.String
            : null,
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        product: json_.containsKey('product')
            ? Product.fromJson(
                json_['product'] as core.Map<core.String, core.dynamic>)
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );