Package constructor
Package({
- PackageInfo? info,
- String? url,
- Timestamp? createdOn,
- String? checksum,
- String? id,
Implementation
factory Package({
PackageInfo? info,
$core.String? url,
$44.Timestamp? createdOn,
$core.String? checksum,
$core.String? id,
}) {
final $result = create();
if (info != null) {
$result.info = info;
}
if (url != null) {
$result.url = url;
}
if (createdOn != null) {
$result.createdOn = createdOn;
}
if (checksum != null) {
$result.checksum = checksum;
}
if (id != null) {
$result.id = id;
}
return $result;
}