toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'agentType': agentType,
  if (worktreePath != null) 'worktreePath': worktreePath,
  if (description != null) 'description': description,
};