copyWith method

AlbumInfoAlbumInfoCommentThread copyWith({
  1. String? id,
  2. AlbumInfoAlbumInfoCommentThreadResourceInfo? resourceInfo,
  3. int? resourceType,
  4. int? commentCount,
  5. int? likedCount,
  6. int? shareCount,
  7. int? hotCount,
  8. dynamic latestLikedUsers,
  9. int? resourceId,
  10. int? resourceOwnerId,
  11. String? resourceTitle,
})

Implementation

AlbumInfoAlbumInfoCommentThread copyWith({
  String? id,
  AlbumInfoAlbumInfoCommentThreadResourceInfo? resourceInfo,
  int? resourceType,
  int? commentCount,
  int? likedCount,
  int? shareCount,
  int? hotCount,
  dynamic latestLikedUsers,
  int? resourceId,
  int? resourceOwnerId,
  String? resourceTitle,
}) {
  return AlbumInfoAlbumInfoCommentThread()
    ..id = id ?? this.id
    ..resourceInfo = resourceInfo ?? this.resourceInfo
    ..resourceType = resourceType ?? this.resourceType
    ..commentCount = commentCount ?? this.commentCount
    ..likedCount = likedCount ?? this.likedCount
    ..shareCount = shareCount ?? this.shareCount
    ..hotCount = hotCount ?? this.hotCount
    ..latestLikedUsers = latestLikedUsers ?? this.latestLikedUsers
    ..resourceId = resourceId ?? this.resourceId
    ..resourceOwnerId = resourceOwnerId ?? this.resourceOwnerId
    ..resourceTitle = resourceTitle ?? this.resourceTitle;
}