Crate constructor
Crate({
- required List badges,
- required List<
String> categories, - required DateTime created_at,
- required String description,
- String? documentation,
- required int downloads,
- required bool exact_match,
- required dynamic homepage,
- required String id,
- required List<
String> keywords, - required CrateLinks links,
- required String max_stable_version,
- required String max_version,
- required String name,
- required String newest_version,
- required int recent_downloads,
- required String repository,
- required DateTime updated_at,
- 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,
});