copyWith method

NewAlbumAlbums copyWith({
  1. List? songs,
  2. bool? paid,
  3. bool? onSale,
  4. int? mark,
  5. dynamic awardTags,
  6. dynamic displayTags,
  7. List<NewAlbumAlbumsArtists>? artists,
  8. int? copyrightId,
  9. int? picId,
  10. NewAlbumAlbumsArtist? artist,
  11. String? briefDesc,
  12. int? publishTime,
  13. String? company,
  14. String? picUrl,
  15. String? commentThreadId,
  16. String? blurPicUrl,
  17. int? companyId,
  18. int? pic,
  19. List? alias,
  20. int? status,
  21. String? subType,
  22. String? description,
  23. String? tags,
  24. String? name,
  25. int? id,
  26. String? type,
  27. int? size,
  28. String? picidStr,
})

Implementation

NewAlbumAlbums copyWith({
  List<dynamic>? songs,
  bool? paid,
  bool? onSale,
  int? mark,
  dynamic awardTags,
  dynamic displayTags,
  List<NewAlbumAlbumsArtists>? artists,
  int? copyrightId,
  int? picId,
  NewAlbumAlbumsArtist? artist,
  String? briefDesc,
  int? publishTime,
  String? company,
  String? picUrl,
  String? commentThreadId,
  String? blurPicUrl,
  int? companyId,
  int? pic,
  List<dynamic>? alias,
  int? status,
  String? subType,
  String? description,
  String? tags,
  String? name,
  int? id,
  String? type,
  int? size,
  String? picidStr,
}) {
  return NewAlbumAlbums()
    ..songs = songs ?? this.songs
    ..paid = paid ?? this.paid
    ..onSale = onSale ?? this.onSale
    ..mark = mark ?? this.mark
    ..awardTags = awardTags ?? this.awardTags
    ..displayTags = displayTags ?? this.displayTags
    ..artists = artists ?? this.artists
    ..copyrightId = copyrightId ?? this.copyrightId
    ..picId = picId ?? this.picId
    ..artist = artist ?? this.artist
    ..briefDesc = briefDesc ?? this.briefDesc
    ..publishTime = publishTime ?? this.publishTime
    ..company = company ?? this.company
    ..picUrl = picUrl ?? this.picUrl
    ..commentThreadId = commentThreadId ?? this.commentThreadId
    ..blurPicUrl = blurPicUrl ?? this.blurPicUrl
    ..companyId = companyId ?? this.companyId
    ..pic = pic ?? this.pic
    ..alias = alias ?? this.alias
    ..status = status ?? this.status
    ..subType = subType ?? this.subType
    ..description = description ?? this.description
    ..tags = tags ?? this.tags
    ..name = name ?? this.name
    ..id = id ?? this.id
    ..type = type ?? this.type
    ..size = size ?? this.size
    ..picidStr = picidStr ?? this.picidStr;
}