Collection.fromJson constructor
Collection.fromJson(
- Map json_
Implementation
Collection.fromJson(core.Map json_)
: this(
customLabel0: json_['customLabel0'] as core.String?,
customLabel1: json_['customLabel1'] as core.String?,
customLabel2: json_['customLabel2'] as core.String?,
customLabel3: json_['customLabel3'] as core.String?,
customLabel4: json_['customLabel4'] as core.String?,
featuredProduct: (json_['featuredProduct'] as core.List?)
?.map((value) => CollectionFeaturedProduct.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
headline: (json_['headline'] as core.List?)
?.map((value) => value as core.String)
.toList(),
id: json_['id'] as core.String?,
imageLink: (json_['imageLink'] as core.List?)
?.map((value) => value as core.String)
.toList(),
language: json_['language'] as core.String?,
link: json_['link'] as core.String?,
mobileLink: json_['mobileLink'] as core.String?,
productCountry: json_['productCountry'] as core.String?,
);