Track.fromJson constructor
Track.fromJson(
- Map json_
Implementation
Track.fromJson(core.Map json_)
: this(
releases: json_.containsKey('releases')
? (json_['releases'] as core.List)
.map((value) => TrackRelease.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
track:
json_.containsKey('track') ? json_['track'] as core.String : null,
);