$AlbumInfoAlbumInfoCommentThreadResourceInfoFromJson function

AlbumInfoAlbumInfoCommentThreadResourceInfo $AlbumInfoAlbumInfoCommentThreadResourceInfoFromJson(
  1. Map<String, dynamic> json
)

Implementation

AlbumInfoAlbumInfoCommentThreadResourceInfo $AlbumInfoAlbumInfoCommentThreadResourceInfoFromJson(
    Map<String, dynamic> json) {
  final AlbumInfoAlbumInfoCommentThreadResourceInfo albumInfoAlbumInfoCommentThreadResourceInfo = AlbumInfoAlbumInfoCommentThreadResourceInfo();
  final int? id = jsonConvert.convert<int>(json['id']);
  if (id != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.id = id;
  }
  final int? userId = jsonConvert.convert<int>(json['userId']);
  if (userId != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.userId = userId;
  }
  final String? name = jsonConvert.convert<String>(json['name']);
  if (name != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.name = name;
  }
  final String? imgUrl = jsonConvert.convert<String>(json['imgUrl']);
  if (imgUrl != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.imgUrl = imgUrl;
  }
  final dynamic creator = json['creator'];
  if (creator != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.creator = creator;
  }
  final dynamic encodedId = json['encodedId'];
  if (encodedId != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.encodedId = encodedId;
  }
  final dynamic subTitle = json['subTitle'];
  if (subTitle != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.subTitle = subTitle;
  }
  final dynamic webUrl = json['webUrl'];
  if (webUrl != null) {
    albumInfoAlbumInfoCommentThreadResourceInfo.webUrl = webUrl;
  }
  return albumInfoAlbumInfoCommentThreadResourceInfo;
}