$SongDetailSongsFromJson function
Implementation
SongDetailSongs $SongDetailSongsFromJson(Map<String, dynamic> json) {
final SongDetailSongs songDetailSongs = SongDetailSongs();
final String? name = jsonConvert.convert<String>(json['name']);
if (name != null) {
songDetailSongs.name = name;
}
final int? id = jsonConvert.convert<int>(json['id']);
if (id != null) {
songDetailSongs.id = id;
}
final int? pst = jsonConvert.convert<int>(json['pst']);
if (pst != null) {
songDetailSongs.pst = pst;
}
final int? t = jsonConvert.convert<int>(json['t']);
if (t != null) {
songDetailSongs.t = t;
}
final List<SongDetailSongsAr>? ar = (json['ar'] as List<dynamic>?)?.map(
(e) => jsonConvert.convert<SongDetailSongsAr>(e) as SongDetailSongsAr).toList();
if (ar != null) {
songDetailSongs.ar = ar;
}
final List<dynamic>? alia = (json['alia'] as List<dynamic>?)?.map(
(e) => e).toList();
if (alia != null) {
songDetailSongs.alia = alia;
}
final double? pop = jsonConvert.convert<double>(json['pop']);
if (pop != null) {
songDetailSongs.pop = pop;
}
final int? st = jsonConvert.convert<int>(json['st']);
if (st != null) {
songDetailSongs.st = st;
}
final String? rt = jsonConvert.convert<String>(json['rt']);
if (rt != null) {
songDetailSongs.rt = rt;
}
final int? fee = jsonConvert.convert<int>(json['fee']);
if (fee != null) {
songDetailSongs.fee = fee;
}
final int? v = jsonConvert.convert<int>(json['v']);
if (v != null) {
songDetailSongs.v = v;
}
final dynamic crbt = json['crbt'];
if (crbt != null) {
songDetailSongs.crbt = crbt;
}
final String? cf = jsonConvert.convert<String>(json['cf']);
if (cf != null) {
songDetailSongs.cf = cf;
}
final SongDetailSongsAl? al = jsonConvert.convert<SongDetailSongsAl>(json['al']);
if (al != null) {
songDetailSongs.al = al;
}
final int? dt = jsonConvert.convert<int>(json['dt']);
if (dt != null) {
songDetailSongs.dt = dt;
}
final SongDetailSongsH? h = jsonConvert.convert<SongDetailSongsH>(json['h']);
if (h != null) {
songDetailSongs.h = h;
}
final SongDetailSongsM? m = jsonConvert.convert<SongDetailSongsM>(json['m']);
if (m != null) {
songDetailSongs.m = m;
}
final SongDetailSongsL? l = jsonConvert.convert<SongDetailSongsL>(json['l']);
if (l != null) {
songDetailSongs.l = l;
}
final SongDetailSongsSq? sq = jsonConvert.convert<SongDetailSongsSq>(json['sq']);
if (sq != null) {
songDetailSongs.sq = sq;
}
final dynamic hr = json['hr'];
if (hr != null) {
songDetailSongs.hr = hr;
}
final dynamic a = json['a'];
if (a != null) {
songDetailSongs.a = a;
}
final String? cd = jsonConvert.convert<String>(json['cd']);
if (cd != null) {
songDetailSongs.cd = cd;
}
final int? no = jsonConvert.convert<int>(json['no']);
if (no != null) {
songDetailSongs.no = no;
}
final dynamic rtUrl = json['rtUrl'];
if (rtUrl != null) {
songDetailSongs.rtUrl = rtUrl;
}
final int? ftype = jsonConvert.convert<int>(json['ftype']);
if (ftype != null) {
songDetailSongs.ftype = ftype;
}
final List<dynamic>? rtUrls = (json['rtUrls'] as List<dynamic>?)?.map(
(e) => e).toList();
if (rtUrls != null) {
songDetailSongs.rtUrls = rtUrls;
}
final int? djId = jsonConvert.convert<int>(json['djId']);
if (djId != null) {
songDetailSongs.djId = djId;
}
final int? copyright = jsonConvert.convert<int>(json['copyright']);
if (copyright != null) {
songDetailSongs.copyright = copyright;
}
final int? sId = jsonConvert.convert<int>(json['s_id']);
if (sId != null) {
songDetailSongs.sId = sId;
}
final int? mark = jsonConvert.convert<int>(json['mark']);
if (mark != null) {
songDetailSongs.mark = mark;
}
final int? originCoverType = jsonConvert.convert<int>(json['originCoverType']);
if (originCoverType != null) {
songDetailSongs.originCoverType = originCoverType;
}
final dynamic originSongSimpleData = json['originSongSimpleData'];
if (originSongSimpleData != null) {
songDetailSongs.originSongSimpleData = originSongSimpleData;
}
final dynamic tagPicList = json['tagPicList'];
if (tagPicList != null) {
songDetailSongs.tagPicList = tagPicList;
}
final bool? resourceState = jsonConvert.convert<bool>(json['resourceState']);
if (resourceState != null) {
songDetailSongs.resourceState = resourceState;
}
final int? version = jsonConvert.convert<int>(json['version']);
if (version != null) {
songDetailSongs.version = version;
}
final dynamic songJumpInfo = json['songJumpInfo'];
if (songJumpInfo != null) {
songDetailSongs.songJumpInfo = songJumpInfo;
}
final dynamic entertainmentTags = json['entertainmentTags'];
if (entertainmentTags != null) {
songDetailSongs.entertainmentTags = entertainmentTags;
}
final dynamic awardTags = json['awardTags'];
if (awardTags != null) {
songDetailSongs.awardTags = awardTags;
}
final dynamic displayTags = json['displayTags'];
if (displayTags != null) {
songDetailSongs.displayTags = displayTags;
}
final int? single = jsonConvert.convert<int>(json['single']);
if (single != null) {
songDetailSongs.single = single;
}
final dynamic noCopyrightRcmd = json['noCopyrightRcmd'];
if (noCopyrightRcmd != null) {
songDetailSongs.noCopyrightRcmd = noCopyrightRcmd;
}
final int? mv = jsonConvert.convert<int>(json['mv']);
if (mv != null) {
songDetailSongs.mv = mv;
}
final int? rtype = jsonConvert.convert<int>(json['rtype']);
if (rtype != null) {
songDetailSongs.rtype = rtype;
}
final dynamic rurl = json['rurl'];
if (rurl != null) {
songDetailSongs.rurl = rurl;
}
final int? mst = jsonConvert.convert<int>(json['mst']);
if (mst != null) {
songDetailSongs.mst = mst;
}
final int? cp = jsonConvert.convert<int>(json['cp']);
if (cp != null) {
songDetailSongs.cp = cp;
}
final int? publishTime = jsonConvert.convert<int>(json['publishTime']);
if (publishTime != null) {
songDetailSongs.publishTime = publishTime;
}
return songDetailSongs;
}