ActiveWorktreeSession.fromJson constructor

ActiveWorktreeSession.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ActiveWorktreeSession.fromJson(Map<String, dynamic> json) =>
    ActiveWorktreeSession(
      originalCwd: json['originalCwd'] as String,
      worktreePath: json['worktreePath'] as String,
      worktreeName: json['worktreeName'] as String,
      originalBranch: json['originalBranch'] as String?,
      sessionId: json['sessionId'] as String,
      hookBased: json['hookBased'] as bool?,
    );