LfpInventory.fromJson constructor
LfpInventory.fromJson(
- Map json_
Implementation
LfpInventory.fromJson(core.Map json_)
: this(
availability: json_['availability'] as core.String?,
collectionTime: json_['collectionTime'] as core.String?,
contentLanguage: json_['contentLanguage'] as core.String?,
feedLabel: json_['feedLabel'] as core.String?,
gtin: json_['gtin'] as core.String?,
name: json_['name'] as core.String?,
offerId: json_['offerId'] as core.String?,
pickupMethod: json_['pickupMethod'] as core.String?,
pickupSla: json_['pickupSla'] as core.String?,
price:
json_.containsKey('price')
? Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>,
)
: null,
quantity: json_['quantity'] as core.String?,
regionCode: json_['regionCode'] as core.String?,
storeCode: json_['storeCode'] as core.String?,
targetAccount: json_['targetAccount'] as core.String?,
);