Crate class

Annotations
  • @JsonSerializable()

Constructors

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})
Crate.fromJson(Map<String, dynamic> json)
factory

Properties

badges List
final
categories List<String>
final
created_at DateTime
final
description String
final
documentation String?
final
downloads int
final
exact_match bool
final
hashCode int
The hash code for this object.
no setterinherited
homepage → dynamic
final
id String
final
keywords List<String>
final
final
max_stable_version String
final
max_version String
final
name String
final
newest_version String
final
recent_downloads int
final
repository String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated_at DateTime
final
versions List<int>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited