WorktreeSession constructor

const WorktreeSession({
  1. required String originalCwd,
  2. required String worktreePath,
  3. required String worktreeName,
  4. String? worktreeBranch,
  5. String? originalBranch,
  6. String? originalHeadCommit,
  7. required String sessionId,
  8. String? tmuxSessionName,
  9. bool hookBased = false,
  10. int? creationDurationMs,
  11. bool usedSparsePaths = false,
})

Implementation

const WorktreeSession({
  required this.originalCwd,
  required this.worktreePath,
  required this.worktreeName,
  this.worktreeBranch,
  this.originalBranch,
  this.originalHeadCommit,
  required this.sessionId,
  this.tmuxSessionName,
  this.hookBased = false,
  this.creationDurationMs,
  this.usedSparsePaths = false,
});