ProductSet.fromJson constructor
ProductSet.fromJson(
- Map json_
Implementation
ProductSet.fromJson(core.Map json_)
: this(
productId: json_.containsKey('productId')
? (json_['productId'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
productSetBehavior: json_.containsKey('productSetBehavior')
? json_['productSetBehavior'] as core.String
: null,
productVisibility: json_.containsKey('productVisibility')
? (json_['productVisibility'] as core.List)
.map((value) => ProductVisibility.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);