copyWith method

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

Implementation

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