$NewAlbumAlbumsArtistFromJson function

NewAlbumAlbumsArtist $NewAlbumAlbumsArtistFromJson(
  1. Map<String, dynamic> json
)

Implementation

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