PosInventoryResponse.fromJson constructor
PosInventoryResponse.fromJson(
- Map json_
Implementation
PosInventoryResponse.fromJson(core.Map json_)
: this(
contentLanguage: json_.containsKey('contentLanguage')
? json_['contentLanguage'] as core.String
: null,
gtin: json_.containsKey('gtin') ? json_['gtin'] as core.String : null,
itemId: json_.containsKey('itemId')
? json_['itemId'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
pickupMethod: json_.containsKey('pickupMethod')
? json_['pickupMethod'] as core.String
: null,
pickupSla: json_.containsKey('pickupSla')
? json_['pickupSla'] as core.String
: null,
price: json_.containsKey('price')
? Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>)
: null,
quantity: json_.containsKey('quantity')
? json_['quantity'] as core.String
: null,
storeCode: json_.containsKey('storeCode')
? json_['storeCode'] as core.String
: null,
targetCountry: json_.containsKey('targetCountry')
? json_['targetCountry'] as core.String
: null,
timestamp: json_.containsKey('timestamp')
? json_['timestamp'] as core.String
: null,
);