GetPackageRequest constructor
GetPackageRequest({
- String? id,
- String? version,
- bool? includeUrl,
- PackageType? type,
- String? platform,
Implementation
factory GetPackageRequest({
$core.String? id,
$core.String? version,
$core.bool? includeUrl,
PackageType? type,
$core.String? platform,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (version != null) {
$result.version = version;
}
if (includeUrl != null) {
$result.includeUrl = includeUrl;
}
if (type != null) {
$result.type = type;
}
if (platform != null) {
$result.platform = platform;
}
return $result;
}