OrderPromotionItem.fromJson constructor
OrderPromotionItem.fromJson(
- Map json_
Implementation
OrderPromotionItem.fromJson(core.Map json_)
: this(
lineItemId: json_.containsKey('lineItemId')
? json_['lineItemId'] as core.String
: null,
offerId: json_.containsKey('offerId')
? json_['offerId'] as core.String
: null,
productId: json_.containsKey('productId')
? json_['productId'] as core.String
: null,
quantity: json_.containsKey('quantity')
? json_['quantity'] as core.int
: null,
);