copyWith method

TopArtistArtists copyWith({
  1. String? name,
  2. int? id,
  3. int? picId,
  4. int? img1v1Id,
  5. String? briefDesc,
  6. String? picUrl,
  7. String? img1v1Url,
  8. int? albumSize,
  9. List<String>? alias,
  10. String? trans,
  11. int? musicSize,
  12. int? topicPerson,
  13. bool? isSubed,
  14. int? accountId,
  15. String? picidStr,
  16. String? img1v1idStr,
  17. dynamic transNames,
  18. bool? followed,
  19. int? mvSize,
  20. int? fansCount,
})

Implementation

TopArtistArtists copyWith({
  String? name,
  int? id,
  int? picId,
  int? img1v1Id,
  String? briefDesc,
  String? picUrl,
  String? img1v1Url,
  int? albumSize,
  List<String>? alias,
  String? trans,
  int? musicSize,
  int? topicPerson,
  bool? isSubed,
  int? accountId,
  String? picidStr,
  String? img1v1idStr,
  dynamic transNames,
  bool? followed,
  int? mvSize,
  int? fansCount,
}) {
  return TopArtistArtists()
    ..name = name ?? this.name
    ..id = id ?? this.id
    ..picId = picId ?? this.picId
    ..img1v1Id = img1v1Id ?? this.img1v1Id
    ..briefDesc = briefDesc ?? this.briefDesc
    ..picUrl = picUrl ?? this.picUrl
    ..img1v1Url = img1v1Url ?? this.img1v1Url
    ..albumSize = albumSize ?? this.albumSize
    ..alias = alias ?? this.alias
    ..trans = trans ?? this.trans
    ..musicSize = musicSize ?? this.musicSize
    ..topicPerson = topicPerson ?? this.topicPerson
    ..isSubed = isSubed ?? this.isSubed
    ..accountId = accountId ?? this.accountId
    ..picidStr = picidStr ?? this.picidStr
    ..img1v1idStr = img1v1idStr ?? this.img1v1idStr
    ..transNames = transNames ?? this.transNames
    ..followed = followed ?? this.followed
    ..mvSize = mvSize ?? this.mvSize
    ..fansCount = fansCount ?? this.fansCount;
}