$AlbumInfoSongsPrivilegeChargeInfoListFromJson function
Implementation
AlbumInfoSongsPrivilegeChargeInfoList $AlbumInfoSongsPrivilegeChargeInfoListFromJson(
Map<String, dynamic> json) {
final AlbumInfoSongsPrivilegeChargeInfoList albumInfoSongsPrivilegeChargeInfoList = AlbumInfoSongsPrivilegeChargeInfoList();
final int? rate = jsonConvert.convert<int>(json['rate']);
if (rate != null) {
albumInfoSongsPrivilegeChargeInfoList.rate = rate;
}
final dynamic chargeUrl = json['chargeUrl'];
if (chargeUrl != null) {
albumInfoSongsPrivilegeChargeInfoList.chargeUrl = chargeUrl;
}
final dynamic chargeMessage = json['chargeMessage'];
if (chargeMessage != null) {
albumInfoSongsPrivilegeChargeInfoList.chargeMessage = chargeMessage;
}
final int? chargeType = jsonConvert.convert<int>(json['chargeType']);
if (chargeType != null) {
albumInfoSongsPrivilegeChargeInfoList.chargeType = chargeType;
}
return albumInfoSongsPrivilegeChargeInfoList;
}