GoogleCloudRetailV2LocalInventory.fromJson constructor
GoogleCloudRetailV2LocalInventory.fromJson(
- Map json_
Implementation
GoogleCloudRetailV2LocalInventory.fromJson(core.Map json_)
: this(
attributes: json_.containsKey('attributes')
? (json_['attributes'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
GoogleCloudRetailV2CustomAttribute.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
fulfillmentTypes: json_.containsKey('fulfillmentTypes')
? (json_['fulfillmentTypes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
placeId: json_.containsKey('placeId')
? json_['placeId'] as core.String
: null,
priceInfo: json_.containsKey('priceInfo')
? GoogleCloudRetailV2PriceInfo.fromJson(
json_['priceInfo'] as core.Map<core.String, core.dynamic>)
: null,
);