SourceProvenance constructor
SourceProvenance({
- StorageSource? resolvedStorageSource,
- Map<
String, FileHashes> ? fileHashes, - RepoSource? resolvedRepoSource,
Implementation
factory SourceProvenance({
StorageSource? resolvedStorageSource,
$core.Map<$core.String, FileHashes>? fileHashes,
RepoSource? resolvedRepoSource,
}) {
final $result = create();
if (resolvedStorageSource != null) {
$result.resolvedStorageSource = resolvedStorageSource;
}
if (fileHashes != null) {
$result.fileHashes.addAll(fileHashes);
}
if (resolvedRepoSource != null) {
$result.resolvedRepoSource = resolvedRepoSource;
}
return $result;
}