$AlbumInfoSongsPrivilegeFreeTrialPrivilegeFromJson function
Implementation
AlbumInfoSongsPrivilegeFreeTrialPrivilege $AlbumInfoSongsPrivilegeFreeTrialPrivilegeFromJson(
Map<String, dynamic> json) {
final AlbumInfoSongsPrivilegeFreeTrialPrivilege albumInfoSongsPrivilegeFreeTrialPrivilege = AlbumInfoSongsPrivilegeFreeTrialPrivilege();
final bool? resConsumable = jsonConvert.convert<bool>(json['resConsumable']);
if (resConsumable != null) {
albumInfoSongsPrivilegeFreeTrialPrivilege.resConsumable = resConsumable;
}
final bool? userConsumable = jsonConvert.convert<bool>(json['userConsumable']);
if (userConsumable != null) {
albumInfoSongsPrivilegeFreeTrialPrivilege.userConsumable = userConsumable;
}
final dynamic listenType = json['listenType'];
if (listenType != null) {
albumInfoSongsPrivilegeFreeTrialPrivilege.listenType = listenType;
}
final dynamic cannotListenReason = json['cannotListenReason'];
if (cannotListenReason != null) {
albumInfoSongsPrivilegeFreeTrialPrivilege.cannotListenReason = cannotListenReason;
}
final dynamic playReason = json['playReason'];
if (playReason != null) {
albumInfoSongsPrivilegeFreeTrialPrivilege.playReason = playReason;
}
final dynamic freeLimitTagType = json['freeLimitTagType'];
if (freeLimitTagType != null) {
albumInfoSongsPrivilegeFreeTrialPrivilege.freeLimitTagType = freeLimitTagType;
}
return albumInfoSongsPrivilegeFreeTrialPrivilege;
}