GoogleCloudChannelV1PriceByResource.fromJson constructor
GoogleCloudChannelV1PriceByResource.fromJson(
- Map json_
Implementation
GoogleCloudChannelV1PriceByResource.fromJson(core.Map json_)
: this(
price:
json_.containsKey('price')
? GoogleCloudChannelV1Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>,
)
: null,
pricePhases:
(json_['pricePhases'] as core.List?)
?.map(
(value) => GoogleCloudChannelV1PricePhase.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
resourceType: json_['resourceType'] as core.String?,
);