Source constructor
Source({
- StorageSource? storageSource,
- RepoSource? repoSource,
Implementation
factory Source({
StorageSource? storageSource,
RepoSource? repoSource,
}) {
final $result = create();
if (storageSource != null) {
$result.storageSource = storageSource;
}
if (repoSource != null) {
$result.repoSource = repoSource;
}
return $result;
}