Version class

Annotations
  • @JsonSerializable()

Constructors

Version({required List<AuditAction> audit_actions, required String checksum, required String crate, int? crate_size, required DateTime created_at, required String dl_path, required int downloads, required Map<String, List<String>> features, required int id, required String license, required VersionLinks links, required String num, PublishedBy? published_by, required String readme_path, required DateTime updated_at, required bool yanked})
Version.fromJson(Map<String, dynamic> json)
factory

Properties

audit_actions List<AuditAction>
final
checksum String
final
crate String
final
crate_size int?
final
created_at DateTime
final
dl_path String
final
downloads int
final
features Map<String, List<String>>
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
license String
final
final
num String
final
published_by PublishedBy?
final
readme_path String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updated_at DateTime
final
yanked bool
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