CssProduct.fromJson constructor
CssProduct.fromJson(
- Map json_
Implementation
CssProduct.fromJson(core.Map json_)
: this(
attributes:
json_.containsKey('attributes')
? Attributes.fromJson(
json_['attributes'] as core.Map<core.String, core.dynamic>,
)
: null,
contentLanguage: json_['contentLanguage'] as core.String?,
cssProductStatus:
json_.containsKey('cssProductStatus')
? CssProductStatus.fromJson(
json_['cssProductStatus']
as core.Map<core.String, core.dynamic>,
)
: null,
customAttributes:
(json_['customAttributes'] as core.List?)
?.map(
(value) => CustomAttribute.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
feedLabel: json_['feedLabel'] as core.String?,
name: json_['name'] as core.String?,
rawProvidedId: json_['rawProvidedId'] as core.String?,
);