ProjectLaunch constructor

ProjectLaunch({
  1. required Directory projectDir,
  2. required TenantProjectPubspec projectPubspec,
  3. required bool usesDb,
  4. required bool includePreDeployScripts,
  5. String? projectId,
  6. String? dartVersionOverride,
  7. bool? preexistingProject,
  8. bool performDeploy = true,
  9. List<String>? suggestedPreDeployScripts,
})

Implementation

ProjectLaunch({
  required this.projectDir,
  required this.projectPubspec,
  required this.usesDb,
  required this.includePreDeployScripts,
  this.projectId,
  this.dartVersionOverride,
  this.preexistingProject,
  this.performDeploy = true,
  final List<String>? suggestedPreDeployScripts,
}) : suggestedPreDeployScripts = suggestedPreDeployScripts ?? [] {
  configFilePath = _constructConfigFilePath(projectDir.path);
}