VersionModel class

Implemented types
Annotations
  • @JsonSerializable.new()

Constructors

VersionModel({required String version, required Map<String, dynamic> pubspec, required String archiveUrl, required DateTime published})
VersionModel.fromJson(Map<String, dynamic> json)
factory

Properties

archiveUrl → String
final
hashCode → int
The hash code for this object.
no setterinherited
published → DateTime
final
pubspec → Map<String, dynamic>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → String
final

Methods

compareTo(VersionModel other) → int
Compares this object to another object.
override
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

Static Methods

fromGit(String ref, String baseUri, String outputDir) → Future<VersionModel>