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