Dataset constructor

Dataset({
  1. String? id,
  2. String? author,
  3. String? slug,
  4. String? category,
  5. String? license,
  6. String? language,
  7. int? downloads,
  8. int? downloadsAll,
  9. int? likes,
  10. int? trendingScore,
  11. int? gated,
  12. int? mainSizeBytes,
  13. String? sizeDisplay,
  14. int? ageDays,
  15. int? isTrending,
  16. int? justAdded,
  17. String? description,
  18. List<String> tags = const [],
  19. String? hfUrl,
  20. String? createdAt,
  21. String? lastModifiedAt,
  22. String? firstSeenAt,
})

Returns a new Dataset instance.

Implementation

Dataset({
  this.id,
  this.author,
  this.slug,
  this.category,
  this.license,
  this.language,
  this.downloads,
  this.downloadsAll,
  this.likes,
  this.trendingScore,
  this.gated,
  this.mainSizeBytes,
  this.sizeDisplay,
  this.ageDays,
  this.isTrending,
  this.justAdded,
  this.description,
  this.tags = const [],
  this.hfUrl,
  this.createdAt,
  this.lastModifiedAt,
  this.firstSeenAt,
});