ReleaseProviderHttp class

Inheritance

Constructors

ReleaseProviderHttp.baseURL(String baseURL, {String releasesFile = defaultReleasesFile, String releasesBundleFileFormat = defaultReleasesBundleFileFormat})
ReleaseProviderHttp.withClient(HttpClient? _httpClient, {String releasesFile = defaultReleasesFile, String releasesBundleFileFormat = defaultReleasesBundleFileFormat})

Properties

baseURL String
final
hashCode int
The hash code for this object.
no setterinherited
httpClient → HttpClient
no setter
releasesBundleFileFormat String
final
releasesFile String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copy() ReleaseProviderHttp
Returns a copy of this instance.
override
getReleaseBundle(String name, Version targetVersion, [String? platform]) Future<ReleaseBundle?>
Gets a ReleaseBundle for the targetVersion.
override
lastRelease(String name, {String? platform}) FutureOr<Release?>
Returns the last Version available for name and optional platform.
inherited
listReleases() Future<List<Release>>
Lists all releases.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onSpawned() FutureOr<bool>
Called when an Isolate is spawned and receives a Spawnable instance.
inherited
toString() String
A string representation of this object.
override

Operators

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