RepoSource constructor

RepoSource({
  1. String? projectId,
  2. String? repoName,
  3. String? branchName,
  4. String? tagName,
  5. String? commitSha,
  6. String? dir,
  7. bool? invertRegex,
})

Implementation

factory RepoSource({
  $core.String? projectId,
  $core.String? repoName,
  $core.String? branchName,
  $core.String? tagName,
  $core.String? commitSha,
  $core.String? dir,
  $core.bool? invertRegex,
}) {
  final $result = create();
  if (projectId != null) {
    $result.projectId = projectId;
  }
  if (repoName != null) {
    $result.repoName = repoName;
  }
  if (branchName != null) {
    $result.branchName = branchName;
  }
  if (tagName != null) {
    $result.tagName = tagName;
  }
  if (commitSha != null) {
    $result.commitSha = commitSha;
  }
  if (dir != null) {
    $result.dir = dir;
  }
  if (invertRegex != null) {
    $result.invertRegex = invertRegex;
  }
  return $result;
}