PubAdapter class

Inheritance

Constructors

PubAdapter({Client? httpClient})

Properties

defaultUrl → String
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
registryType → Registry
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
fetchModule(String package, String version, {String? modulePath, ModuleEncoding encoding = ModuleEncoding.MODULE_ENCODING_UNSPECIFIED, String? registryUrl, Map<String, String>? headers}) → Future<ResolvedRegistryModule>
Download the package archive and extract the Ball module bytes.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveVersion(String package, String constraint, {String? registryUrl, Map<String, String>? headers}) → Future<String>
Resolve a version constraint to the best matching concrete version.
override
toString() → String
A string representation of this object.
inherited

Operators

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