OrderTrackingSignalLineItemDetails.fromJson constructor

OrderTrackingSignalLineItemDetails.fromJson(
  1. Map json_
)

Implementation

OrderTrackingSignalLineItemDetails.fromJson(core.Map json_)
    : this(
        brand:
            json_.containsKey('brand') ? json_['brand'] as core.String : null,
        gtin: json_.containsKey('gtin') ? json_['gtin'] as core.String : null,
        lineItemId: json_.containsKey('lineItemId')
            ? json_['lineItemId'] as core.String
            : null,
        mpn: json_.containsKey('mpn') ? json_['mpn'] as core.String : null,
        productDescription: json_.containsKey('productDescription')
            ? json_['productDescription'] as core.String
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
        productTitle: json_.containsKey('productTitle')
            ? json_['productTitle'] as core.String
            : null,
        quantity: json_.containsKey('quantity')
            ? json_['quantity'] as core.String
            : null,
        sku: json_.containsKey('sku') ? json_['sku'] as core.String : null,
        upc: json_.containsKey('upc') ? json_['upc'] as core.String : null,
      );