GoogleCloudRetailV2LocalInventory.fromJson constructor
GoogleCloudRetailV2LocalInventory.fromJson(
- Map json_
Implementation
GoogleCloudRetailV2LocalInventory.fromJson(core.Map json_)
: this(
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>,
),
),
),
fulfillmentTypes:
(json_['fulfillmentTypes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
placeId: json_['placeId'] as core.String?,
priceInfo:
json_.containsKey('priceInfo')
? GoogleCloudRetailV2PriceInfo.fromJson(
json_['priceInfo'] as core.Map<core.String, core.dynamic>,
)
: null,
);