PackageVersion class

Constructors

PackageVersion.new(String id, String version)
Constructor that accepts id and version separately.
PackageVersion.fromSource(String source)
Constructor that parses the source string into id and version. Throws an ArgumentError if the source is null or invalid.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
final

Methods

isExamplesPackage() bool
Returns whether the package is an examples package.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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