ReleasePackerCommandUploadReleaseBundle.byURL constructor
ReleasePackerCommandUploadReleaseBundle.byURL(})
Implementation
factory ReleasePackerCommandUploadReleaseBundle.byURL(String url,
{Map<String, Object?>? parameters,
Credential? authorization,
String? file,
String? release}) {
file ??= ReleaseBundle.defaultReleasesBundleFileFormat;
release ??= '%RELEASE%';
parameters ??= <String, Object?>{};
parameters['file'] ??= file;
parameters['release'] ??= release;
var cmd = ReleasePackerCommandURL(url,
parameters: parameters,
authorization: authorization,
body: '%RELEASE_BUNDLE%');
return ReleasePackerCommandUploadReleaseBundle._(cmd);
}