AppOperations class abstract

Constructors

AppOperations()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

cancelBuilds(Client cloudApiClient, {required String projectId, required List<UuidValue> buildIds}) → Future<Map<UuidValue, Exception>>
Cancels the app builds buildIds of project projectId, and returns the builds that could not be cancelled, with the exception of each. A build that no longer exists is skipped.
createBuilds(Client cloudApiClient, {required String projectId, required List<FlutterPlatform> platforms, required String flutterAppDir, required int archiveSize, String? versionName, GitMetadata? gitMetadata}) → Future<AppBuildsUpload>
Requests a build of the Flutter app in flutterAppDir of the archive for each of platforms in project projectId, and returns the build ids with the upload description for an archive of archiveSize bytes.
followBuildLog(Client cloudApiClient, {required String projectId, required UuidValue uploadId, required AppPlatform platform}) → Future<Stream<AppBuildStepLog>>
Returns the log of each step of the platform build made from the archive upload uploadId in project projectId, in run order, as each step ends. Once the build has ended, the steps that have not ended follow, and the stream closes.
getBuild(Client cloudApiClient, {required String projectId, required UuidValue buildId}) → Future<AppBuildDetail>
Returns the app build buildId of project projectId with its steps.
getStatus(Client cloudApiClient, {required String projectId}) → Future<List<AppStatusRow>>
Returns each platform of project projectId that has a connected store, in display order, with its most recent build. The builds are only fetched when a store is connected.
getUploadBuilds(Client cloudApiClient, {required String projectId, required UuidValue uploadId}) → Future<List<AppBuildSummary>>
Returns the app builds made from the archive upload uploadId in project projectId, in platform order.
listBuilds(Client cloudApiClient, {required String projectId, required List<AppPlatform> platforms, required int limit}) → Future<List<AppBuildSummary>>
Lists the limit most recent app builds of project projectId for platforms, newest first.
listUploads(Client cloudApiClient, {required String projectId, required int limit}) → Future<List<AppUploadRow>>
Lists the limit most recent app uploads of project projectId with their builds, newest first.
stepLogs(Client cloudApiClient, {required String projectId, required UuidValue buildId, required Stream<AppBuildDetail> details}) → Stream<AppBuildStepLog>
Returns the log of each step of the app build buildId of project projectId, in run order, as the build details show the step has ended. Once a detail shows the build has ended, the steps that have not ended follow.
tailBuild(Client cloudApiClient, {required String projectId, required UuidValue buildId}) → Stream<AppBuildDetail>
Returns the app build buildId of project projectId on every change, until it reaches a final status.