copyWith method
AlbumInfoAlbumInfoCommentThread
copyWith(
{ - String? id,
- AlbumInfoAlbumInfoCommentThreadResourceInfo? resourceInfo,
- int? resourceType,
- int? likedCount,
- int? shareCount,
- int? hotCount,
- dynamic latestLikedUsers,
- int? resourceId,
- int? resourceOwnerId,
- 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;
}