$NewSongDataAlbumArtistFromJson function

NewSongDataAlbumArtist $NewSongDataAlbumArtistFromJson(
  1. Map<String, dynamic> json
)

Implementation

NewSongDataAlbumArtist $NewSongDataAlbumArtistFromJson(Map<String, dynamic> json) {
  final NewSongDataAlbumArtist newSongDataAlbumArtist = NewSongDataAlbumArtist();
  final int? img1v1Id = jsonConvert.convert<int>(json['img1v1Id']);
  if (img1v1Id != null) {
    newSongDataAlbumArtist.img1v1Id = img1v1Id;
  }
  final int? topicPerson = jsonConvert.convert<int>(json['topicPerson']);
  if (topicPerson != null) {
    newSongDataAlbumArtist.topicPerson = topicPerson;
  }
  final bool? followed = jsonConvert.convert<bool>(json['followed']);
  if (followed != null) {
    newSongDataAlbumArtist.followed = followed;
  }
  final int? picId = jsonConvert.convert<int>(json['picId']);
  if (picId != null) {
    newSongDataAlbumArtist.picId = picId;
  }
  final String? briefDesc = jsonConvert.convert<String>(json['briefDesc']);
  if (briefDesc != null) {
    newSongDataAlbumArtist.briefDesc = briefDesc;
  }
  final String? picUrl = jsonConvert.convert<String>(json['picUrl']);
  if (picUrl != null) {
    newSongDataAlbumArtist.picUrl = picUrl;
  }
  final int? musicSize = jsonConvert.convert<int>(json['musicSize']);
  if (musicSize != null) {
    newSongDataAlbumArtist.musicSize = musicSize;
  }
  final int? albumSize = jsonConvert.convert<int>(json['albumSize']);
  if (albumSize != null) {
    newSongDataAlbumArtist.albumSize = albumSize;
  }
  final String? img1v1Url = jsonConvert.convert<String>(json['img1v1Url']);
  if (img1v1Url != null) {
    newSongDataAlbumArtist.img1v1Url = img1v1Url;
  }
  final String? trans = jsonConvert.convert<String>(json['trans']);
  if (trans != null) {
    newSongDataAlbumArtist.trans = trans;
  }
  final List<dynamic>? alias = (json['alias'] as List<dynamic>?)?.map(
          (e) => e).toList();
  if (alias != null) {
    newSongDataAlbumArtist.alias = alias;
  }
  final String? name = jsonConvert.convert<String>(json['name']);
  if (name != null) {
    newSongDataAlbumArtist.name = name;
  }
  final int? id = jsonConvert.convert<int>(json['id']);
  if (id != null) {
    newSongDataAlbumArtist.id = id;
  }
  final String? img1v1idStr = jsonConvert.convert<String>(json['img1v1Id_str']);
  if (img1v1idStr != null) {
    newSongDataAlbumArtist.img1v1idStr = img1v1idStr;
  }
  return newSongDataAlbumArtist;
}