ReleasePackerCommandUploadReleaseBundle.byGCS constructor
ReleasePackerCommandUploadReleaseBundle.byGCS(})
Implementation
factory ReleasePackerCommandUploadReleaseBundle.byGCS(
String project, String bucket,
{Map<String, Object?>? parameters,
required Object credential,
String? file,
String? release}) {
file ??= ReleaseBundle.defaultReleasesBundleFileFormat;
release ??= '%RELEASE%';
parameters ??= <String, Object?>{};
parameters['file'] ??= file;
parameters['release'] ??= release;
var cmd = ReleasePackerCommandGCS(project, bucket,
credential: credential,
parameters: parameters,
body: '%RELEASE_BUNDLE%');
return ReleasePackerCommandUploadReleaseBundle._(cmd);
}