Crate constructor

Crate({
  1. required List badges,
  2. required List<String> categories,
  3. required DateTime created_at,
  4. required String description,
  5. String? documentation,
  6. required int downloads,
  7. required bool exact_match,
  8. required dynamic homepage,
  9. required String id,
  10. required List<String> keywords,
  11. required CrateLinks links,
  12. required String max_stable_version,
  13. required String max_version,
  14. required String name,
  15. required String newest_version,
  16. required int recent_downloads,
  17. required String repository,
  18. required DateTime updated_at,
  19. required List<int> versions,
})

Implementation

Crate({
  required this.badges,
  required this.categories,
  required this.created_at,
  required this.description,
  this.documentation,
  required this.downloads,
  required this.exact_match,
  required this.homepage,
  required this.id,
  required this.keywords,
  required this.links,
  required this.max_stable_version,
  required this.max_version,
  required this.name,
  required this.newest_version,
  required this.recent_downloads,
  required this.repository,
  required this.updated_at,
  required this.versions,
});