ConvertRegionPricesResponse.fromJson constructor
ConvertRegionPricesResponse.fromJson(
- Map json_
Implementation
ConvertRegionPricesResponse.fromJson(core.Map json_)
: this(
convertedOtherRegionsPrice:
json_.containsKey('convertedOtherRegionsPrice')
? ConvertedOtherRegionsPrice.fromJson(
json_['convertedOtherRegionsPrice']
as core.Map<core.String, core.dynamic>)
: null,
convertedRegionPrices: (json_['convertedRegionPrices']
as core.Map<core.String, core.dynamic>?)
?.map(
(key, value) => core.MapEntry(
key,
ConvertedRegionPrice.fromJson(
value as core.Map<core.String, core.dynamic>),
),
),
regionVersion: json_.containsKey('regionVersion')
? RegionsVersion.fromJson(
json_['regionVersion'] as core.Map<core.String, core.dynamic>)
: null,
);