PriceCompetitivenessProductView.fromJson constructor
PriceCompetitivenessProductView.fromJson(
- Map json_
Implementation
PriceCompetitivenessProductView.fromJson(core.Map json_)
: this(
benchmarkPrice:
json_.containsKey('benchmarkPrice')
? Price.fromJson(
json_['benchmarkPrice']
as core.Map<core.String, core.dynamic>,
)
: null,
brand: json_['brand'] as core.String?,
categoryL1: json_['categoryL1'] as core.String?,
categoryL2: json_['categoryL2'] as core.String?,
categoryL3: json_['categoryL3'] as core.String?,
categoryL4: json_['categoryL4'] as core.String?,
categoryL5: json_['categoryL5'] as core.String?,
id: json_['id'] as core.String?,
offerId: json_['offerId'] as core.String?,
price:
json_.containsKey('price')
? Price.fromJson(
json_['price'] as core.Map<core.String, core.dynamic>,
)
: null,
productTypeL1: json_['productTypeL1'] as core.String?,
productTypeL2: json_['productTypeL2'] as core.String?,
productTypeL3: json_['productTypeL3'] as core.String?,
productTypeL4: json_['productTypeL4'] as core.String?,
productTypeL5: json_['productTypeL5'] as core.String?,
reportCountryCode: json_['reportCountryCode'] as core.String?,
title: json_['title'] as core.String?,
);